This is a script that helps complete the parameter configuration and training of OpenCV cascade classifiers with once click, simplifying program invocation and configuration.
- Place the OpenCV cascading trainer files in the directory
opencv_ toolkit
- Place positive and negative samples in the
dataset/pos
anddataset/neg
folders - Modify the parameters in the
options.py
- Run the
train.py
- Check the result by
inference.py
- Some parameters are explained as follows:
- An example of the detection results:
For more information please visit the blog: http://t.csdn.cn/y3d7l