Face Detection using OpenCV with C++. This program can detect faces from image and webcam live video feed.
- Requirements: C++ compiler (preferably GNU Compiler) & OpenCV needs to be installed in your PC. Webcam or similar device is needed for face detection from live video.
- Using the makefile
- open terminal in project directory
- use the following command:
$ make
$ ./'Face Detector'
- To clean the object files and build the project again from scratch use command
$ make clean
- Without using makefile : can use the following commands to compile the project :
$ g++ filename.cpp -o filename `pkg-config --cflags --libs opencv4`
$ ./filename
$ g++ filename.cpp -o filename `pkg-config --cflags --libs opencv4`
$ filename or $ filename.exe