GithubHelp home page GithubHelp logo

face-detection's Introduction

Face Detection

Face detection is one the hot topics in the field of image processing. The objective is to find whether there is a face in an image or not. Various kind of approaches are taken so far to solve this problem. Some of the famous detection algorithms were discussed here.

Models

Haar Cascade


Source: https://www.cs.cmu.edu/~efros/courses/LBMV07/Papers/viola-cvpr-01.pdf

CNN (Convolutional Neura Network)


Source: https://arxiv.org/pdf/1502.00046.pdf

HoG (Histogram of Oriented Gradients)


Source: https://lear.inrialpes.fr/people/triggs/pubs/Dalal-cvpr05.pdf

SSD (Single Shot Detector)


Source: https://www.cs.unc.edu/~wliu/papers/ssd.pdf

Dependency

Installation

pip3 install -r requirements.txt

Usage

User Guide

For help, you can use

python3 main.py -h   

For applying different models on images, you can use the following methods:

python3 main.py -m ssd -t image -i dataset/images/[IMAGE_NAME]
python3 main.py -m hog -t image -i dataset/images/[IMAGE_NAME]
python3 main.py -m haar -t image -i dataset/images/[IMAGE_NAME]
python3 main.py -m cnn -t image -i dataset/images/[IMAGE_NAME]

For applying different models on videos, you can use the following methods:

python3 main.py -m ssd -t video -i dataset/video/[video_NAME]
python3 main.py -m hog -t video -i dataset/video/[video_NAME]
python3 main.py -m haar -t video -i dataset/video/[video_NAME]
python3 main.py -m cnn -t video -i dataset/video/[video_NAME]

For using webcam:

python3 main.py -m ssd -t video
python3 main.py -m hog -t video
python3 main.py -m haar -t video
python3 main.py -m cnn -t video

face-detection's People

Contributors

arghadeep25 avatar

Stargazers

Naoki Matsunaga avatar

Watchers

paper2code - bot 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.