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
- Host: GitHub
- URL: https://github.com/r13i/opencv-detection-test
- Owner: r13i
- License: mit
- Created: 2018-11-07T14:04:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T22:31:15.000Z (about 7 years ago)
- Last Synced: 2025-02-02T04:41:12.827Z (12 months ago)
- Topics: eye-detection, face, face-detection, opencv, opencv-detection-test, opencv-python, python, video-stream, webcam
- Language: Python
- Size: 4.25 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
