Skip to content

Rukhmini/attendance-system

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attendance System Using Face Recognition

Details about this repo

Please read my article here, which has an explanation about how an attendance system using Face Recognition, given a video feed works and read this article here to know how to implement it using this repository.

How To Use

  • Clone this repo.
  • Download retinaface and insightface models from here
  • Make a directory "models" inside Face_detection folder and extract "retinaface-R50.zip" in a folder inside "models" with name "retinaface" and extract "insightface.zip" in the "models" folder only. So now you will have two directories inside models, namely insightface and retinaface.
  • In the root folder there is a file environment.yml which we will use to create a conda environment byt executing :
conda env create -n face_recog -f environment.yml
  • Start the redis server in which we will store the vectors of registered faces by running :
redis-server
  • Activate the conda environment created in previous step by running :
conda activate face_recog
  • Register all the different person using register.py. To know about how to structure the data for registering please go through my implementation article
python register.py -p path/to/folder/ -db 0
  • Run the following command to infer on a video feed after registering all the people :
python infer.py -in path/to/video -out to/save/path -db 0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 58.5%
  • Python 41.0%
  • C 0.3%
  • Cuda 0.1%
  • C++ 0.1%
  • Shell 0.0%