Unable to create .vec files from images

asked 2018-03-15 18:12:26 -0500

updated 2018-03-16 01:35:05 -0500

berak gravatar image

I spent 4 days searching for opencv_createsamples file, when i run this command

perl bin/createsamples.pl positives.txt negatives.txt samples 1500\ "opencv_createsamples -bgcolor 0 -bgthresh 0 -maxxangle 1.1\ -maxyangle 1.1 maxzangle 0.5 -maxidev 40 -w 80 -h 40"

the code runs but didn't output any .vec files in samples folder. Could you help me pass this error, please?

edit retag flag offensive close merge delete


please, no useless screenshots here. if you think, it's nessecary, add the output of ls as text

berak gravatar imageberak ( 2018-03-16 01:36:02 -0500 )edit

then, what kind of object are you trying to detect ?

if that's from real life, you need a ton of real images, not synthetically generated ones.

and ofc, you should follow opencv's documentation , not those terrible blogs found on the net.

berak gravatar imageberak ( 2018-03-16 01:40:25 -0500 )edit