Git Product home page Git Product logo

shape_predictor_81_face_landmarks's Introduction

81 Facial Landmarks Shape Predictor

This is a custom shape predictor model trained to find 81 facial feature landmarks given any image.

It's trained similar to dlib's 68 facial landmark shape predictor. In addition to the original 68 facial landmarks, I added an additional 13 landmarks to cover the forehead area. This allows for precise head detection and for image operations that require points along the top of the head, for example when placing a hat on someone's head.

The additional 13 points were extract using my fork of eos by patrikhuber: https://github.com/codeniko/eos. I continued to use the Surrey Face Model and made note of 13 points that I thought were the perfect fit for my use case. I made the modifications here, then ran it on the entire ibug large database of images to overwrite each image's 68 landmark coordinates with my 81 landmark coordinates. From here, the training for the shape predictor model can proceed using http://dlib.net/train_shape_predictor.py.html

Check out this live example video of 81 landmark detection in action: https://www.youtube.com/watch?v=mDJrASIB1T0

81 landmarks reference

81 landmarks reference image

shape_predictor_81_face_landmarks's People

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.