Please put your name (or names if you work in a group) here:
Name: .......
- Fork the current repository
- Study the new framework-code of
- main.cpp
- Check that the code is running correctly: it should show the video stream from the web-camera of your laptop.
- Calculate average fps and print it to console every 2 seconds. Compare Debug and Release versions.
MacOS users may need to launch the application with administrator right, to grant access to the web-camera.
- Read the OpenCV documentation about Viola-Jones face detector: Cascade Classifier
- Implement face detection for the video strem from the web-camera using the
cv::CascadeClassifier
class. - Measure the FPS one more time. How FPS changed after incorporating the face detection into the framework?
Please do not copy-paste the example code from the OpenCV documentation, but try to understand the example code and implement the solution to the problem by yourself.