This repository contains the code to replicate the wave app, which recognizes the faces of the actors Aaron Eckhar, Adam Brody, Bradley Cooper, and Adrien Brody
git clone https://github.com/ksathur/Wave-App--Actors-Face-Recognition.git
cd Wave-App--Actors-Face-Recognition
This code runs on Python 3.7
conda create -n face_recog_wave python=3.7
conda activate face_recog_wave
This will install all the libraries that are require to run the wave app testing.
pip install -r requirements.txt
wave run wave_face_recognition.py
Go to http://localhost:10101/actors_face_detection to visualize the app.
Screenshot of the interfaces are available at ./interface_1.PNG
, and ./interface_2.PNG
.
A recorded demo video is available at ./demo_video.mp4
.
cd utils
4.3 Run face_csv_file_writter.py
to create a .csv
file which consists of images directories and labels.
python `face_csv_file_writter.py`
cd ../
4.5 Run face_classifier.py
to start the training. The model and the accuracy information will be saved into ./dumps/model
and ./dumps/accuracy
respectively.
python `face_classifier.py`
python face_tester.py
python plot.py
4.8 To run testing on any test data download the images into ./test_sample
and run the face_classifier_sample_test.py
.
python face_classifier_sample_test.py