https://github.com/regalk13/facial-recognition
Python Facial Recognition using Opencv and numpy.
https://github.com/regalk13/facial-recognition
numpy opencv-python python recognition-face
Last synced: 2 months ago
JSON representation
Python Facial Recognition using Opencv and numpy.
- Host: GitHub
- URL: https://github.com/regalk13/facial-recognition
- Owner: regalk13
- License: mit
- Created: 2021-06-17T17:41:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-27T15:14:48.000Z (over 4 years ago)
- Last Synced: 2025-02-24T05:29:40.049Z (11 months ago)
- Topics: numpy, opencv-python, python, recognition-face
- Language: Python
- Homepage:
- Size: 116 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Facial Recognition
## _Python Facial Recognition_
This is a Python facial recognition, use Opencv and numpy to collect data, use it but read the instructions first.
## Features
- It reads your face by taking multiple photos with Opencv technology and collects all the data in one .npy file to use for facial recognition.
- All in a single file for each person.
- You can save the data of thousands of people.
- Easy implementation to other projects.
## Tech
Here you will find out the technologies used:
- [Python](https://www.python.org/) - All code on python!
- [Opencv](https://opencv.org/) - Awesome open library, and powerful.
- [Numpy](https://numpy.org/) - To save data in amazing ways and with good practices.
- [Git](https://git-scm.com/) - The whole Project uses git for version control.
There are few technologies but I think they are necessary for a great solution.
## Installation
You will need python 3.8.x (open a virtual environment as good practice and install opencv and numpy).
```sh
pip install opencv-python
```
```sh
pip install numpy
```
## How to use
When you have the dependencies installed, remember to put your webcam focusing on your face and in a bright place with no other people.
- Run face-data.py - This begins to analyze your face, you will see numbers printing on the screen, recommended that you leave it up to 40, when you think it is okay press Q.
- Verify on the folder face_dataset have a .npy file with the name you put on face_data.py.
- Run face_recognition.py, A box will appear with the name of the person who detects.
## Contribution
Want to contribute? Great!
- Fork the project and send a pull request.
- If you have a lot of good ideas and want contibute too much. Send me a dm on twitter of add you on the project.
- Final note: I will create a post in .DEV explaining the whole project.
## License
MIT