Script to read and show the XML cascade classifiers generated by OpenCV. It works with both new and old version of XML generated by opencv_haartraining
and opencv_traincascade
.
Usage: python src/cascadeReader.py [cascade.xml] [sample_image]
- Example (files in sample folder)
python src/cascadeReader.py sample/haarcascade_frontalface_default.xml sample/face_24x24.jpg