Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

create positive samples parseError Done

Hello,

I am trying to create positive samples, from 934 positive instances. I am using this command to do it:

opencv_createsamples -info info.dat -vec samples_output.vec -bg bgs.txt -num 934 -show -w 80 -h 80

For some reason, I can only create 788 samples, getting the following error message:

info.dat(489) : parse errorDone. Created 788 samples

As my positive instances come from 4 different videos, I tried to run the opencv_createsamples with all the images separated into the 4 groups, so I would be sure that all my coordinates were correct and this strange 788 successful samples were not because 146 out all my instances were incorrectly listed on my "info.dat". I had success in all of them, separately, so I guess that the images' coordinates are correct.

What else would be happening here?

create positive samples parseError DoneparseError

Hello,

I am trying to create positive samples, from 934 positive instances. I am using this command to do it:

opencv_createsamples -info info.dat -vec samples_output.vec -bg bgs.txt -num 934 -show -w 80 -h 80

For some reason, I can only create 788 samples, getting the following error message:

info.dat(489) : parse errorDone. Created 788 samples

As my positive instances come from 4 different videos, I tried to run the opencv_createsamples with all the images separated into the 4 groups, so I would be sure that all my coordinates were correct and this strange 788 successful samples were not because 146 out all my instances were incorrectly listed on my "info.dat". I had success in all of them, separately, so I guess that the images' coordinates are correct.

What else would be happening here?