Skip to content

itlinhph/Face-recognition-Viola-Jones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face recognition Opencv, Find the best face!

Input: A video/ webcam (realtime)
Output: Face detect & recognition, find the best face in all.

Prequisite

  • Opencv 3.3.6
  • Python 3
  • statistics (for compute stdev)
  • matplotlib (For visualize histogram if you need)

Run

  • Train your model first:
    • place your images in train folder
    • call function : train_and_save_model("train/")
  • Edit your input video path in main.py.
  • run:
    • python3 main.py (see more in demo video)

Note

The best face consider by 4 factor:

  • Accurancy
  • Straight face
  • Contrast
  • Entropy

Contact

Copyright by LinhPhan
Contact me: fb.com/linhpph

Video demo: https://youtu.be/T2cMSd4WX9M

About

[Computer vision] Face detect & Recognition. Using Opencv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages