Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is there a way to use a trained CascadeClassifier for just classification in OpenCV 3.x?

I have trained a cascade classifier on my own dataset using opencv_traincascade application as explained here. I now want to use this trained model only for classification, not detection.

However I can't seem to find the setImage and runAt methods, which were present in OpenCV 2.x but seemingly not in OpenCV 3.x.

Are they deliberately removed from this version? Is there any other way to perform classification using my trained cascade?