https://github.com/grayoj/facenition
This is a simple Python program powered by Open-CV that executes facial recognition within a console.
https://github.com/grayoj/facenition
Last synced: 11 months ago
JSON representation
This is a simple Python program powered by Open-CV that executes facial recognition within a console.
- Host: GitHub
- URL: https://github.com/grayoj/facenition
- Owner: grayoj
- Created: 2023-01-13T18:56:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T19:01:27.000Z (over 3 years ago)
- Last Synced: 2025-04-09T23:10:31.132Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 138 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Facenition.
This is a simple Python program powered by Open-CV that executes facial recognition within a console.
## Requiremets
- Python 3.
- OpenCV-Python.
- Numpy.
## Setup
To set this project up on your machine to test it's functionality follow the instructions below:
1. Uninstall older versions of Python2 and install Python 3 as required in `runtime.txt`
```bash
python --version
sudo add-apt-repository --remove ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get remove --purge python2
sudo apt install python3.10
```
2. Run the following command: `pip3 --version`
3. Install the requirements: `sudo pip3 install -r requirements.txt`
Assuming 3 didn't work: 4. install the requirement in this manner: `sudo pip3 install opencv-python`
You should have Python3, Numpy and OpenCV installed on your local machine.
## Execute the program
The following commands will run the program, in your bash terminal.
```bash
$ cd facenition/
$ vim main.py
:terminal
$ python3 main.py
```
## Credits
Open CV, Python, Linux.