Unable to create positive samples

asked Jun 25 '13

eric gravatar image

I am building a Haar classifier. I have a set of 109 positive samples and 3000 negative samples. To increase my number of positive samples (to say 600), I try using the following command:

opencv_createsamples -vec out.vec -w 24 -h 24 -bg bg.txt -num 600 -info positives.dat

But I get the following error message:

positives.dat(109) : parse errorDone. Created 108 samples

How can I "force" opencv to produce the 600 samples from those 109 I have?

edit

Comments

2

Kindly refer to this link. Read it completely. This should give you a better picture.

Prasanna gravatar image Prasanna  (Jun 25 '13)
add a comment