All Projects → raviranjan0309 → Detect-Facial-Features

raviranjan0309 / Detect-Facial-Features

Licence: other
Code example demonstrating how to detect eyes, nose, lips, and jaw with dlib, OpenCV, and Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Detect-Facial-Features

Facerecognition
Nextcloud app that implement a basic facial recognition system.
Stars: ✭ 226 (+438.1%)
Mutual labels:  face-recognition, face-detection
Hms Ml Demo
HMS ML Demo provides an example of integrating Huawei ML Kit service into applications. This example demonstrates how to integrate services provided by ML Kit, such as face detection, text recognition, image segmentation, asr, and tts.
Stars: ✭ 187 (+345.24%)
Mutual labels:  face-recognition, face-detection
Attendance Using Face
Face-recognition using Siamese network
Stars: ✭ 174 (+314.29%)
Mutual labels:  face-recognition, face-detection
Dockerface
Face detection using deep learning.
Stars: ✭ 173 (+311.9%)
Mutual labels:  face-recognition, face-detection
Arcface Multiplex Recognition
适用于复杂场景的人脸识别身份认证系统
Stars: ✭ 200 (+376.19%)
Mutual labels:  face-recognition, face-detection
DeepFaceRecognition
Face Recognition with Transfer Learning
Stars: ✭ 16 (-61.9%)
Mutual labels:  face-recognition, face-detection
Opencv Course
Learn OpenCV in 4 Hours - Code used in my Python and OpenCV course on freeCodeCamp.
Stars: ✭ 185 (+340.48%)
Mutual labels:  face-recognition, face-detection
Facepause
Look Away to Pause Youtube - Experimental Chrome Extension
Stars: ✭ 171 (+307.14%)
Mutual labels:  face-recognition, face-detection
Awesome Face recognition
papers about Face Detection; Face Alignment; Face Recognition && Face Identification && Face Verification && Face Representation; Face Reconstruction; Face Tracking; Face Super-Resolution && Face Deblurring; Face Generation && Face Synthesis; Face Transfer; Face Anti-Spoofing; Face Retrieval;
Stars: ✭ 3,220 (+7566.67%)
Mutual labels:  face-recognition, face-detection
Marvel
Marvel - Face Recognition With Android & OpenCV
Stars: ✭ 199 (+373.81%)
Mutual labels:  face-recognition, face-detection
Facepapercollection
A collection of face related papers
Stars: ✭ 241 (+473.81%)
Mutual labels:  face-recognition, face-detection
Ownphotos
Self hosted alternative to Google Photos
Stars: ✭ 2,587 (+6059.52%)
Mutual labels:  face-recognition, face-detection
Human
Human: 3D Face Detection, Body Pose, Hand & Finger Tracking, Iris Tracking and Age & Gender Prediction
Stars: ✭ 172 (+309.52%)
Mutual labels:  face-recognition, face-detection
Face-Recognition
A Java application for Face Recognition under expressions, occlusions and pose variations.
Stars: ✭ 55 (+30.95%)
Mutual labels:  face-recognition, face-detection
Ownphotos Frontend
Stars: ✭ 171 (+307.14%)
Mutual labels:  face-recognition, face-detection
Instabotai
Instagram AI bot with face detection. It works without instagram api, need only login and password.
Stars: ✭ 181 (+330.95%)
Mutual labels:  face-recognition, face-detection
Facenet Pytorch
Pretrained Pytorch face detection (MTCNN) and facial recognition (InceptionResnet) models
Stars: ✭ 2,564 (+6004.76%)
Mutual labels:  face-recognition, face-detection
Face Api.js
JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js
Stars: ✭ 13,258 (+31466.67%)
Mutual labels:  face-recognition, face-detection
Viewfacecore
C# 超简单的人脸识别库。
Stars: ✭ 193 (+359.52%)
Mutual labels:  face-recognition, face-detection
Face.evolve.pytorch
🔥🔥High-Performance Face Recognition Library on PaddlePaddle & PyTorch🔥🔥
Stars: ✭ 2,719 (+6373.81%)
Mutual labels:  face-recognition, face-detection

Detect-Facial-Features

This tutorial will help you to extract the cordinates for facial features like eyes, nose, mouth and jaw using 68 facial landmark indexes.

68 Facial landmark indexes

The facial landmark detector implemented inside dlib produces 68 (x, y)-coordinates that map to specific facial structures. These 68 point mappings were obtained by training a shape predictor on the labeled iBUG 300-W dataset.

Below we can visualize what each of these 68 coordinates map to:

N|Solid

Examining the image, we can see that facial regions can be accessed via simple Python indexing (assuming zero-indexing with Python since the image above is one-indexed):

  • The mouth can be accessed through points [48, 68].
  • The right eyebrow through points [17, 22].
  • The left eyebrow through points [22, 27].
  • The right eye using [36, 42].
  • The left eye with [42, 48].
  • The nose using [27, 35].
  • And the jaw via [0, 17].

These mappings are encoded inside the FACIAL_LANDMARKS_IDXS dictionary inside face_utils of the imutils library.

Tech

Project uses below python packages:

  • NumPy - A fundamental package for scientific computing with Python.
  • OpenCV - A library of Python bindings designed to solve computer vision problems.
  • dlib - A toolkit for making real world machine learning and data analysis applications.
  • imutils - A series of convenience functions to make basic image processing functions such as translation, rotation, resizing, skeletonization, displaying Matplotlib images, sorting contours, detecting edges, and much more easier with OpenCV and both Python 2.7 and Python 3.

Installation Steps for running on your local machine:

  • Download and install Python 3.6 or Anaconda 4 on your system as per your operating system Download Python Download Anaconda 4
  • Clone the repository on your local drive.
  • Open command prompt in windows or terminal in MacOS inside the application root directory.
  • Install the required python packages needed to run the appliation.
    pip install requirements.txt
  • Run below command to visualize the results
     python detect_face_features.py --shape-predictor shape_predictor_68_face_landmarks.dat --image images/image_1.jpg
Author
Ravi Ranjan
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].