Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/efecanxrd/dlib-face-detection
The project takes the image from the real time camera with the opencv library. We can process this data with dlib and scan 68 points on our face.
https://github.com/efecanxrd/dlib-face-detection
cv2 dlib dlib-face dlib-face-detection dlib-face-recognition dlib-library face-detection face-recognition facedetect facedetection numpy opencv opencv-detection-models opencv-python python python-cv2 pythondlib
Last synced: 14 days ago
JSON representation
The project takes the image from the real time camera with the opencv library. We can process this data with dlib and scan 68 points on our face.
- Host: GitHub
- URL: https://github.com/efecanxrd/dlib-face-detection
- Owner: efecanxrd
- License: mit
- Created: 2021-12-07T10:10:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-07T16:24:39.000Z (about 3 years ago)
- Last Synced: 2024-11-15T04:42:01.948Z (3 months ago)
- Topics: cv2, dlib, dlib-face, dlib-face-detection, dlib-face-recognition, dlib-library, face-detection, face-recognition, facedetect, facedetection, numpy, opencv, opencv-detection-models, opencv-python, python, python-cv2, pythondlib
- Language: Python
- Homepage:
- Size: 43.9 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Face Detection with DLIB
![EfecanLogo](https://avatars.githubusercontent.com/u/66366306?s=100&u=dc5e6f5b4a05d07958d9a867b803760aa2b1613e&v=4)
### In this project, we have detected our face with dlib and opencv libraries.
![XhW](https://i.imgur.com/qHAcfhX.gif)
## Setup This Project
### Install DLIB & OpenCV
- You can install the dlib library by typing ```conda install -c conda-forge dlib``` in your terminal. Anaconda must be installed.
- The easiest way to install opencv is to download it from PyPI. It's going to install the library itself and its prerequisites as well. You can install the opencv library by typing ```pip install opencv-python``` in your terminal.
- And then you can run the project with main.py. Make sure you have **"shape_predictor_68_face_landmarks.dat"** file in your project location.
- [Download shape_predictor_68_face_landmarks.dat](https://github.com/coneypo/Dlib_face_detection_from_camera/raw/master/data/dlib/shape_predictor_68_face_landmarks.dat) I could not add it to this project because it is larger than 25mb
## How this is working?
The project takes the image from the real time camera with the opencv library. We can process this data with dlib and scan 68 points on our face.Normal | 0 | -50 | -200
:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:
![](https://i.imgur.com/uAvW69p.png) | ![](https://i.imgur.com/0bUVmgt.png) | ![](https://i.imgur.com/GAK10bV.png) | ![](https://i.imgur.com/rXmOPGz.png)