Problem with Haar Cascade Training [closed]
I'm following the tutorial for a haar cascade training (https://docs.opencv.org/3.4.1/dc/d88/...). 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?</short>
I've looked here https://docs.opencv.org/3.1.0/d8/dd0/..., and actually there's no public member named data, should I replace "data" with which member?
Thanks in advance!
which opencv version is it ?
OpenCV 3.4.1
yes, the data member was added later. but the
opencv_createsamples
from your 3.4.1 version should, work, so there's some weird version mismatch here.there is no
data
in the 3.4.1 versionso just use the correct program for your opencv version.