All Projects → soheil-mpg → Facial-Keypoint-Detection

soheil-mpg / Facial-Keypoint-Detection

Licence: MIT license
Facial keypoint detection system takes in any image with faces, and predicts the location of 68 distinguishing keypoints on the face - Udacity project

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Facial-Keypoint-Detection

facial-landmarks
Facial landmarks detection with OpenCV, Dlib, DNN
Stars: ✭ 25 (-32.43%)
Mutual labels:  facial-landmarks, facial-keypoints
Facial-Keypoint-Detection
Computer vision: Detect facial keypoints using PyTorch and OpenCV
Stars: ✭ 25 (-32.43%)
Mutual labels:  facial-landmarks, facial-keypoints
SynergyNet
3DV 2021: Synergy between 3DMM and 3D Landmarks for Accurate 3D Facial Geometry
Stars: ✭ 179 (+383.78%)
Mutual labels:  facial-landmarks, facial-keypoints
Sod
An Embedded Computer Vision & Machine Learning Library (CPU Optimized & IoT Capable)
Stars: ✭ 1,460 (+3845.95%)
Mutual labels:  detection, facial-landmarks
Pytorch Faster Rcnn
pytorch based implementation faster rcnn
Stars: ✭ 251 (+578.38%)
Mutual labels:  detection
Useragentparser
UserAgent parsing done right
Stars: ✭ 225 (+508.11%)
Mutual labels:  detection
Security content
Splunk Security Content
Stars: ✭ 217 (+486.49%)
Mutual labels:  detection
Libscout
LibScout: Third-party library detector for Java/Android apps
Stars: ✭ 217 (+486.49%)
Mutual labels:  detection
LiDARTag
This is a package for LiDARTag, described in paper: LiDARTag: A Real-Time Fiducial Tag System for Point Clouds
Stars: ✭ 161 (+335.14%)
Mutual labels:  detection
napari-hub
Discover, install, and share napari plugins
Stars: ✭ 44 (+18.92%)
Mutual labels:  detection
Sinet
Camouflaged Object Detection, CVPR 2020 (Oral & Reported by the New Scientist Magazine)
Stars: ✭ 246 (+564.86%)
Mutual labels:  detection
Deception As Detection
Deception based detection techniques mapped to the MITRE’s ATT&CK framework
Stars: ✭ 228 (+516.22%)
Mutual labels:  detection
Grocery-Product-Detection
This repository builds a product detection model to recognize products from grocery shelf images.
Stars: ✭ 73 (+97.3%)
Mutual labels:  detection
Triplet Attention
Official PyTorch Implementation for "Rotate to Attend: Convolutional Triplet Attention Module." [WACV 2021]
Stars: ✭ 222 (+500%)
Mutual labels:  detection
Detect-Facial-Features
Code example demonstrating how to detect eyes, nose, lips, and jaw with dlib, OpenCV, and Python
Stars: ✭ 42 (+13.51%)
Mutual labels:  facial-landmarks
Vermin
Concurrently detect the minimum Python versions needed to run code
Stars: ✭ 218 (+489.19%)
Mutual labels:  detection
Awesome Carla
👉 CARLA resources such as tutorial, blog, code and etc https://github.com/carla-simulator/carla
Stars: ✭ 246 (+564.86%)
Mutual labels:  detection
mlmodelzoo
Build your iOS 11+ apps with the ready-to-use Core ML models below
Stars: ✭ 17 (-54.05%)
Mutual labels:  detection
Real time object detection and tracking
YOLOv2 and MobileNet_SSD detection algorithms used along with KCF object tracker
Stars: ✭ 241 (+551.35%)
Mutual labels:  detection
Zxhookdetection
【iOS应用安全、安全攻防】hook及越狱的基本防护与检测(动态库注入检测、hook检测与防护、越狱检测、签名校验、IDA反编译分析加密协议Demo);【数据传输安全】浅谈http、https与数据加密
Stars: ✭ 241 (+551.35%)
Mutual labels:  detection

Facial-Keypoint-Detection

Here we're defining and training a convolutional neural network to perform facial keypoint detection, and using computer vision techniques to transform images of faces. The first step in any challenge like this will be to load and visualize the data you'll be working with.

Let's take a look at some examples of images and corresponding facial keypoints.

Facial keypoints (also called facial landmarks) are the small magenta dots shown on each of the faces in the image above. In each training and test image, there is a single face and 68 keypoints, with coordinates (x, y), for that face. These keypoints mark important areas of the face: the eyes, corners of the mouth, the nose, etc. These keypoints are relevant for a variety of tasks, such as face filters, emotion recognition, pose recognition, and so on. Here they are, numbered, and you can see that specific ranges of points match different portions of the face.


Local Environment Instructions

  1. Clone the repository, and navigate to the downloaded folder. This may take a minute or two to clone due to the included image data.
git clone https://github.com/soheillll/Facial-Keypoint-Detection
cd P1_Facial_Keypoints
  1. Create (and activate) a new environment, named cv-nd with Python 3.6. If prompted to proceed with the install (Proceed [y]/n) type y.

    • Linux or Mac:
    conda create -n cv-nd python=3.6
    source activate cv-nd
    
    • Windows:
    conda create --name cv-nd python=3.6
    activate cv-nd
    

    At this point your command line should look something like: (cv-nd) <User>:P1_Facial_Keypoints <user>$. The (cv-nd) indicates that your environment has been activated, and you can proceed with further package installations.

  2. Install PyTorch and torchvision; this should install the latest version of PyTorch.

    • Linux or Mac:
    conda install pytorch torchvision -c pytorch 
    
    • Windows:
    conda install pytorch-cpu -c pytorch
    pip install torchvision
    
  3. Install a few required pip packages, which are specified in the requirements text file (including OpenCV).

pip install -r requirements.txt

Data

All of the data you'll need to train a neural network is in the Facial-Keypoint-Detection repo, in the subdirectory data. In this folder are training and tests set of image/keypoint data, and their respective csv files. This will be further explored in Notebook 1: Loading and Visualizing Data, and you're encouraged to look trough these folders on your own, too.

Notebooks

  1. Navigate back to the repo. (Also, your source environment should still be activated at this point.)
cd
cd Facial-Keypoint-Detection
  1. Open the directory of notebooks, using the below command. You'll see all of the project files appear in your local environment; open the first notebook and follow the instructions.
jupyter notebook
  1. Once you open any of the project notebooks, make sure you are in the correct cv-nd environment by clicking Kernel > Change Kernel > cv-nd.
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].