Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pranavms13/facial-training-and-recognition
Simple Python Code for Facial Training and Recognition using OpenCV
https://github.com/pranavms13/facial-training-and-recognition
face-detection face-recognition facial-recognition opencv opencv-python python
Last synced: 4 days ago
JSON representation
Simple Python Code for Facial Training and Recognition using OpenCV
- Host: GitHub
- URL: https://github.com/pranavms13/facial-training-and-recognition
- Owner: pranavms13
- License: gpl-3.0
- Created: 2020-01-05T07:28:22.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:17:16.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T15:44:04.277Z (7 months ago)
- Topics: face-detection, face-recognition, facial-recognition, opencv, opencv-python, python
- Language: Python
- Size: 40.1 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 24
-
Metadata Files:
- Readme: README.MD
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# facial-training-and-recognition
This is a simple python code for facial training and recognition using OpenCV.
### Software Requirements
- Numpy
- cv2
- Image from PIL
- argparse### Hardware Requirements
- Computer with good Camera 😂.## Usage
- Clone the Repository or Download the zip and extract.
- Install all the Requirements by running,
```pip install -r requirements.txt```
- First run the capturer.py program to capture the samples of face with parameters ``-n and -c ``.
- **For example**, ```python capturer.py -n pranav -c 50```
This captures 50 Samples under the name "pranav".
- Next we need to run the trainer. To do so, we run ```python faces_train.py```
Doing so produces a trained model "trainer.yml" and a pickle file containing the id of all the captured people.
- After training, we can finally Run the Recognition Program. This makes use of the trained model and predicts the person. To start prediction we run, ```python face.py```#### Donations to
- UPI : `pranavms13@apl`
- XMR : `84B2PEVJjenN31h8HcnY4uCFPVcicxvVCAJAYVeYnPLoHkaVGHHWpVxCm6Gn9beEir2CjffgEoXtiDjpAZCmy4ap6uUXT8Y`
- BTC : `3Jg45PbpUNtASL5uvQSeJKZyiExqbB9mbC`#### Suggestions/Issues ?
Open a Issue or Write to me : [[email protected]](mailto:[email protected])## PR's are welcome.