Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

in opencv while creating samples the +ve image will create samples using -ve background images. so, my question is we are metioning -w and -h, how it will impact on generated vector file?

i tried to see the created samples using cmd: opencv_createsamples -w 50 -h 50 -vec filename.jpg.vec so got a image window with resolution of 200200 for -w 50 and -h 50. and +ve and -ve images are of same resolution (300300). if anyone knows in depth concept of this please help us to get into it. thanks in advance,

  • an aspirant on opencv
click to hide/show revision 2
None

updated 2018-02-28 11:02:10 -0600

berak gravatar image

in opencv while creating samples the +ve image will create samples using -ve background images. so, my question is we are metioning -w and -h, how it will impact on generated vector file?

i tried to see the created samples using cmd: opencv_createsamples -w 50 -h 50 -vec filename.jpg.vec so got a image window with resolution of 200200 for -w 50 and -h 50. and +ve and -ve images are of same resolution (300300). if anyone knows in depth concept of this please help us to get into it. thanks in advance,

  • an aspirant on opencv
click to hide/show revision 3
None

updated 2018-02-28 11:02:41 -0600

berak gravatar image

-w -h in create_samples

in opencv while creating samples the +ve image will create samples using -ve background images. so, my question is we are metioning -w and -h, how it will impact on generated vector file?

i tried to see the created samples using cmd: opencv_createsamples -w 50 -h 50 -vec filename.jpg.vec so got a image window with resolution of 200200 for -w 50 and -h 50. and +ve and -ve images are of same resolution (300300). if anyone knows in depth concept of this please help us to get into it. thanks in advance,

  • an aspirant on opencv opencv