Ask Your Question

Revision history [back]

I find the same issue, that's because createsamples check the -num parameter with the number of background images, and take the smaller one. To solve this problem, you could modify apps/createsamples/utility.cpp, in about line 1362: count = MIN( count, cvbgdata->count ); Change it into: count = MAX( count, cvbgdata->count );

I don't know why it is restricted to the smaller one. I have changed it myself, it's very convenient to use this tool to create lots of samples using a few images and backgrounds.