Giter Site home page Giter Site logo

facial_key_points's Introduction

Facial_key_points_detection

In this repository I showed how to detect eyes, lips, mid point of nose. The dataset is from a competition on kaggel. This kind of model is very useful for AR apps. Like some funny face editor whuch detect the face or head and make some funny character.
The dataset consists of 2k image which was (96X96) dims. But it was not enough. So I used data augmentations to get more data. I performed horizental flip and random brightness augmentations which generates almost 6k variations. Then I used a neural net of 4 hidden layers and use resnet skip connection to get a better result. The model has more than 17M parameters to train. So make sure your machine has enough computation ability to complete the task (preferably GPU). I tried with some values of alpha, beta_1 and beta_2. But the default value gives a better result.
I added the dataset which is 65mb. Also after training I saved the model and share the weights as well as the trained model in .json. I deleted the .hdf5 format because of its lagre size. If you train the model you can generate and save it. The model has an accuracy of 74% in test set. Although it is not very good, the predictions are not too bad. If you want to try this, instructions are given in the notebook so that you can follow. Some theory is also mentioned in the notebook which may help you.

facial_key_points's People

Contributors

prabormukherjee avatar

Stargazers

 avatar

Watchers

 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.