Ask Your Question

Error in createsamples (cvSetImageROI)

asked 2015-05-21 17:57:19 -0600

Zeqqo gravatar image

Hi , I m trying to create a vec file from a collection of images but I always got this error :(

image description

my data fowlder is organised like this


and my description file is

image description

I must precise that I resised all images at a 30*30 px (it makes the dec file easier to create) , maybe it causes this error? I really can't see where I m doing wrong :( so let me know if you find out :)

Looking forward to your answers, Regards, Luc

edit retag flag offensive close merge delete


A couple of things: 1) you wrote -vec positives_vec and it should be -vec positives.vec, and 2) try to use full paths instead of relative paths, sometimes that works. The resizing shouldn't be the problem

LorenaGdL gravatar imageLorenaGdL ( 2015-05-22 05:28:43 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-22 07:40:54 -0600

Zeqqo gravatar image

Thx Lorena your second advice worked ,maybe there was a little error in my paths :) (but for the first one , I named my vec file "positive_vec" it's not a mistake ^^ )

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-05-21 17:57:19 -0600

Seen: 816 times

Last updated: May 21 '15