In this project we will count number of unique or distinct faces that appears in any given video file
To run the python file you need to create images folder in the same directory as your python code and video/mp4 file. In the images folder we will be automatically extracting all the frames of the video per second in the video and the compare the faces in the images and count the distinct faces in the code.
Pre-requisites for running this python script-
* Face Recognition module (You need to have dlib before you install that)
* Open Cv module
* immutils module
To run the python script open your terminal and run the following command-
python uniq_face_vid.py --images images
Note- Before executing the above command make sure to have a images folder and the required input video file in the same directory where your python script is running.