Skip to content

Cocoson23/Face-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV_Face_Recognition

Enviroment

  • Pip
    • OpenCV
    • Numpy
  • Anaconda
  • Pycharm

How to train and run?

  • mkdir dataset and test_output
    ---project
      |
      ---dataset
      |  |
      |  ---face
      |  ---test
      |  |
      ---test_output
  • run image_take.py
    Get face data by camera and build dataset.
    ---dataset
      |
      ---person1
      |
      ---person2
      |
      ......
  • run train.py
    Edit params and train face detection model.
  • run detect.py
    Use the trained model to detect in real time with the camera.

How to test?

  • run test_image_take.py
    Get frame by camera and build test dataset.
  • run test.py
    Detect test dataset, and place the output to ./test_output/.

About

Face Detection based on OpenCV-Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages