Skip to content

Rajshah05/Face_Detection_Viola_Jones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face_Detection_Viola_Jones

A face detection tool based on viola-jones machine learning algorithm

How to run

Run (training): Train a cascaded classifier by following the given steps:

  1. extract "train_posf" and "train_negf" files
  2. Run "haar_features.py" to extract all possible haar feature values for each images in positive and negative face images
  3. Run "threshold_optimization.py" to get optimized thresholds for each weak classifier(haar feature)
  4. Run "ada_boost.py" to get the most relevant weak classifiers(haar features), that give minimum error on classifying positive and negative face images, for faces in sequence
  5. Run "cascade_training.py" to build a cascade out of the relevant weak classifiers extracted from adaboost.

Run (for detection): Can use already trained cascade for detection purpose

  1. Run "FaceDetection.py" followed by a space and <..relative directory to the images to be detected>.

Please refer "Report.pdf" for implementation and project details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages