Training a Haar Cascade Object Detector in OpenCV
Using a Haar cascade classifier in OpenCV is simple. You just need to provide the trained model in an XML file to create the classifier. Training one from scratch, however, is not so straightforward. In this tutorial, you will see how the training should be like. In particular, you will learn:
- What are the tools to train a Haar cascade in OpenCV
- How to prepare data for training
- How to run the training
Kick-start your project with my book Machine Learning in OpenCV. It provides self-study tutorials with working code.
Let’s get started.