- Pip
- OpenCV
- Numpy
- Anaconda
- Pycharm
mkdir dataset and test_output
---project
|
---dataset
| |
| ---face
| ---test
| |
---test_outputrun 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.
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/.