Face Detection with DLIB

EfecanLogo

In this project, we have detected our face with dlib and opencv libraries.

XhW

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 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
GitHub - efecanxrd/DLIBFaceDetection at pythonawesome.com
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. - GitHub - efecanxrd/DLIBFaceDetection at pythonawe...