Hello!
I'm trying to create a simple application with openCV to recognize something, and I'm having some problems on TRAIN stage, looking like i have no positive images on my vector. I will show everything i did.
First, i created the files and the .lst:
opencv_createsamples -img bdsaida/img1.jpg -bg bg.txt -info info/annotations.lst -maxxangle 0.1 -maxyangle 0.1 -maxzangle 0.1 -num 1000
Everything ok so far. Then I created the .vec file:
opencv_createsamples -info info/annotations.lst -num 1000 -w 20 -h 20 -vec positives.vec
So far, so good. Then, i tried to train with this command:
opencv_traincascade -data data -vec positives.vec -bg bg.txt -numPos 900 -numNeg 450 -numStages 10 -minHitRate 0.8 -w 20 -h 20
So, I think all the images from the .vec should appear, but only one is appearing, and then, my output files is not working.
If someone could help me telling what I'm doing wrong, i would apreciate.
Thanks for the attention!