opencv_createsamples question on file format

asked 2014-07-28 05:29:33 -0600

MaR1oC gravatar image

updated 2014-07-28 05:46:00 -0600

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 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

edit retag flag offensive close merge delete

Comments

1

Yes,you can use that format too.

Abhishek Kumar Annamraju gravatar imageAbhishek Kumar Annamraju ( 2014-07-28 06:05:05 -0600 )edit