I'm creating a cascade haar to find a part of the eye, but I can not create the image samples. I have a file containing the path to all positive images and one to all negative, but at the time of putting the parameter of opencv_createsamples
passing in -img
the file of positive images it does not generate anything.
Folder Scheme:
--postives_images
----Img_1_1_1.jpg
...
--negative_images
----001_001_001.png
...
--info
--positives.txt
--negatives.txt
Command to create the samples:
opencv_createsamples -img positives.txt -bg negatives.txt -info info/info.lst -pngoutput info -maxxangle 0.5 -maxyangle 0.5 -maxzangle 0.5 -num 2000