1
I’m creating an Aarscade to find a part of the eye, but I can’t create the image samples. I have a file containing the path for all positive images and one for all negative images, but when it comes to placing the opencv_createsamples
passing into -img
the archive of the positive images it generates nothing.
Folder scheme:
--postives_images
----Img_1_1_1.jpg
...
--negative_images
----001_001_001.png
...
--info
--positives.txt
--negatives.txt
Command to create 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