# Revision history [back]

### Unable to create positive samples

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?