Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem with Haar Cascade Training

I'm following the tutorial for a haar cascade training (https://docs.opencv.org/3.4.1/dc/d88/tutorial_traincascade.html). I'm trying to execute the createsamples.cpp from opencv_createsamples, but I always get this error:‘class cv::AutoBuffer<short int="">’ has no member named ‘data’, does anyone have an idea of what problem could be?

I've looked here https://docs.opencv.org/3.1.0/d8/dd0/classcv_1_1AutoBuffer.html, and actually there's no public member named data, should I replace "data" with which member?

Thanks in advance!