Skip to content

BhavyaKohli/Facial_Recognition

Repository files navigation

Facial_Recognition

This repository contains:
> the opencv face detection haarcascade_frontalface_alt.xml file,
> the test and train csv files, and
> the master.py python file, which will be used for performing the facial recognition.
> the output results.csv file containing the face matching predictions of the images contained in the test.csv file.

The modules required to run the file are:
> face_recognition, tqdm, sklearn*, sys
> numpy, pandas, matplotlib*, cv2
* only for visualization and when true labels are given

The file can be run using the following format:
python master.py (source csv file path) (source images path) (number of samples, if needed. Defaults to "None") (0 for testing, 1 for training. Defaults to 0)*
*(If this argument is set to 1, a results.csv file will not be created)

so, for example,
python master.py ./train.csv ./dataset_images 2000 1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published