Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 956 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 956 Bytes

Face Detector

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.

Face Detection

How to run on Linux

  • Using the makefile
  1. open terminal in project directory
  2. use the following command:
$ make
$ ./'Face Detector'
  1. 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 

How to run on Windows

$ g++ filename.cpp -o filename `pkg-config --cflags --libs opencv4`
$ filename or $ filename.exe