An open API service indexing awesome lists of open source software.

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.

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.