Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv_createsamples question on file format

Hello,

I want to train samples via the opencv_createsamples utility and the desired object is on the entire image. Can I use this format:

./img1.jpg 
./img2.jpg

instead of this ? :

./img1.jpg 1 0 0 <height1> <width1>
./img2.jpg 1 0 0 <height2> <width2>

Thanks

opencv_createsamples question on file format

Hello,

I want to train samples via the opencv_createsamples utility and the desired object is on the entire image. Can I use this format:format for positives.txt:

./img1.jpg 
./img2.jpg

instead of this ? :

./img1.jpg 1 0 0 <height1> <width1>
./img2.jpg 1 0 0 <height2> <width2>

Thanks