In a process of creating a haarcascade, I performed the procedures according to the tutorials of the OpenCV library and arrived at the result of a vector with the number of 70 positive images named positives.vec . The vector is being generated correctly, because by executing the following command, vector images are shown:
opencv_createsamples -vec positivos.vec -show -w 20 -h 20
Myproblemisinthetrainingcommandpart,whenexecutingthefollowingcommand:
opencv_traincascade-datadata-vecpositivos.vec-bgnegativos.dat-numPos70-numNeg35-numStages10-minHitRate0.8-w20-h20
My negatives.dat file looks like this:
negativos/img1.jpg
negativos/img2.jpg
negativos/img3.jpg
negativos/img4.jpg
...
negativos/img1000.jpg
What would be the problem with the training command? Few pictures? Something not added correctly? How to proceed?
Note: I'm using Windows 10 64bit.