Ask Your Question
1

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

         ../Traincascade/Positives/
                                   positives_001.jpg
                                   ...
                                   positives_172.jpg

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

Comments

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
0

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

Stats

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

Seen: 849 times

Last updated: May 21 '15