Create samples of various positive Opencv images

Asked

Viewed 123 times

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
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.