Ask Your Question
0

Negative samples in one file

asked 2014-02-20 00:45:32 -0600

John Smith gravatar image

updated 2014-02-20 01:41:21 -0600

berak gravatar image

Can I create negative sample dat file like positive sample ? Like bad\0.bmp and coordinates of many samples in this image file ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-02-20 06:09:49 -0600

No, the negative samples file only contains the names of the images. Take a look at this tutorial:

http://docs.opencv.org/doc/user_guide/ug_traincascade.html

edit flag offensive delete link more

Comments

if you want specific data as hard negative however, cut them out and resize them to model dimensions. Then add them to the top of the negative.txt file.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-02-20 08:14:56 -0600 )edit

Question Tools

Stats

Asked: 2014-02-20 00:45:32 -0600

Seen: 259 times

Last updated: Feb 20 '14