face recognition is an project that uses deep learning algorithm to detect faces and identify according to your training data.
Explore the docs »
Feedback
.
Report Bug
.
Request Feature
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
required libraries and version for smooth working
install required python libraries
dlib == 19.24.0
face_recognition == 1.3.0
numpy == 1.24.2
opencv == 4.8.1
To install above libraries use the following,
pip install -r requirements.txt
- Clone the repo
git clone https://github.com/Anas-github-acc/Face_Recognition.git
-
Install the required libraries ( go through above mention steps )
-
Run the command in your terminal this gives you complete guide how to get train your images and run detection code
~$python main.py --help
Quick run
python3 main.py --help
Usage: python3 main.py [option] ... [-t | --train /d /f ] [-a | --auth] [-C | --cam] [-V | --video]
[-v | --version] [-h | --help]
Options:
-t, --train Train the model
/data Show the trained data
/folder Train the model with images in folder 'training'
-a, --auth Authenticate the user
/folder Authenticate the user with images in folder 'validation'
-C, --cam Open the camera
-V, --video Record the video
-v, --version Show the version
-h, --help Show this help
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
- Please also read through the Code Of Conduct before posting your first idea as well.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request