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

https://github.com/r13i/opencv-detection-test

Repo for testing OpenCV face and eye detection on real-time video stream
https://github.com/r13i/opencv-detection-test

eye-detection face face-detection opencv opencv-detection-test opencv-python python video-stream webcam

Last synced: 3 months ago
JSON representation

Repo for testing OpenCV face and eye detection on real-time video stream

Awesome Lists containing this project

README

          

# opencv-detection-test
Repo for testing OpenCV face and eye detection on real-time video stream

### How-To ?

Make sure you have `virtualenv` installed, then run (`$` is for non-privileged mode):
- `$ virtualenv -p python3 venv`
- `$ source ./venv/bin/activate`

This will activate the virtual environment and you'll see a `(venv)` in the shell prompt.

- `(venv) $ pip install -r requirements.txt` to install the dependencies.
- Make sure you have a webcam and run : `(venv) $ python app.py`

You will see the faces in front of your webcam being detected and surrounded by a green rectangle (and by default, along with eyes and smiles)

### Demonstration
![See the GIF `demo-screen-cast.gif`](./demo-screen-cast.gif)