Giter VIP home page Giter VIP logo

face-detection's Introduction

face-detection

The goal is learn how face detection is done using computer vision and also the evolution of this topic into the field of data science and machine learning. Current results show that Haar features are really robust and show good acccuracy for all models (obviously better performance for ensemble techniques compared to single decision tree). But there still requires the need to have a cascade approach for real-time detection of faces in images or video where as maybe CNN does not need to do that. TODO: Read documentation and papers whether cascade approach or CNNs are better and which is better for deployment on low resource devices. Also create a real-time face detection using opencv library and generated models.

Approach

  • Generate Haar features for the facial and non-facial datasets.
  • Train both boosting and bagging based ensemble tree models and compare the performance metrics.

Performance

  • Decision tree: Mean score of 0.933 with a standard deviation of 0.003

  • Random Forest (Bagging): Mean score of 0.979 with a standard deviation of 0.002

  • AdaBoost (Boosting): Mean score of 0.961 with a standard deviation of 0.002

face-detection's People

Contributors

tusharparimi avatar

Watchers

 avatar

face-detection's Issues

Lot of False Positives in Selective Search ROIs :(

image
  • The image shows ROIs(from selective search rects) recognized as faces with AdaBoost model.
  • Good news: Actual Faces seems to be recognized as faces.
  • Bad news: A lot of false positives.

Potential modifications (TODO):

  • A voting prediction using all three tree models (decision tree, RandomForest, AdaBoost)
  • Increase the resolution of images being used to train the models, currently using (24x24)
  • Add more complex haar features, currently using only the early haar features by VIola and Jones.
image

More Complex Haar features extension by lienhart and maydt here.

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.