Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d-kleine/face_recognition_webcam
Face detection via webcam with OpenCV
https://github.com/d-kleine/face_recognition_webcam
face-recognition
Last synced: 17 days ago
JSON representation
Face detection via webcam with OpenCV
- Host: GitHub
- URL: https://github.com/d-kleine/face_recognition_webcam
- Owner: d-kleine
- Created: 2022-04-10T18:17:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T11:28:50.000Z (about 2 years ago)
- Last Synced: 2024-11-23T14:12:40.997Z (30 days ago)
- Topics: face-recognition
- Language: Jupyter Notebook
- Homepage:
- Size: 24.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Face recognition**
This repository contains the relevant code for face detection via the pretrained Haar features based cascade classifier provided by OpenCV.
`face_recog.ipynb` contains the Python code for a live video, e.g. a webcam:
![face-detec livecam](https://github.com/d-kleine/face_recognition_webcam/blob/main/face_recog_webcam.gif)
`face_recog_video.ipynb` contains the Python code for a video file. It writes a new mp4 video file that is using the original video frames and drawing a square indicating a detected face by the above mentioned cascade classifier:
![face-detec videofile_orig](https://github.com/d-kleine/face_recognition_webcam/blob/main/face_recog_video1.gif)
![face-detec videofile_final](https://github.com/d-kleine/face_recognition_webcam/blob/main/face_recog_video2.gif)