Sorry, this content is no longer available

Ask Your Question
1

Error in createsamples (cvSetImageROI)

asked May 21 '15

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

Preview: (hide)

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 (May 22 '15)edit

1 answer

Sort by » oldest newest most voted
0

answered May 22 '15

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

Preview: (hide)

Question Tools

1 follower

Stats

Asked: May 21 '15

Seen: 900 times

Last updated: May 21 '15