Code Monkey home page Code Monkey logo

facial-keypoint-detection's Introduction

Facial Keypoint Detection

In this project, I combine my knowledge of computer vision techniques and deep learning to build an end-to-end facial keypoint recognition system. Facial keypoints include points around the eyes, nose, and mouth on any face and are used in many applications, from facial tracking to emotion recognition. My completed solution can take in any image containing faces and identify the location of each face and their facial keypoints, as shown below.

Facial Keypoint Detection

The project is broken up into a few main parts in one Jupyter notebook:

Part 1 : Investigating OpenCV, pre-processing, and face detection

Part 2 : Training a Convolutional Neural Network (CNN) to detect facial keypoints

Part 3 : Putting parts 1 and 2 together to identify facial keypoints on any image!

Data

I am using the facial keypoints detection dataset from Kaggle. If you'd like to re-train the model, you'll need to first download the training/test sets and place them in the subdirectory data.

Step 1: Face detection and Eye detection

Implement face and eye detection.

Step 2: De-noise an image for better face detection

De-noise an image for better face detection.

Step 3: Canny Edge Detection and Gaussian Blur

Blur and edge detect a test image.

Step 4: Automatically hide the identity of a person (blur a face)

Automatically detect the face of a person in a test image, then blur their face to mask their identity.

Step 5: Build a Convolutional Neural Network (CNN)

Design a convolutional network architecture for learning correspondence between input faces and facial keypoints. Compile and train the CNN on the dataset. Visualize the loss function.

Step 6: Complete a facial keypoints detector and complete the CV pipeline

Combine OpenCV face detection with trained convnet facial keypoint detector to detect facial keypoints on any image that contains one or multiple human faces.

facial-keypoint-detection's People

Contributors

jamesrequa avatar

Watchers

James Cloos avatar Robin Kalia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.