Ask Your Question
0

traincascade.exe can’t work

asked 2015-03-07 23:28:37 -0600

Sheng Liu gravatar image

updated 2015-03-08 19:08:56 -0600

image.jpg I take a video file and extract the frames as images.The positive images are about 2444 images size of 120x120.Some of images in the positive set are similar. The format of all images is PNG.I have a negative set about 3300 images.When I enter the command “opencv_traincascade -data dt -vec train.vec -bg bg.txt -numPos 1500 -numNeg 3000 -w 120 -h 120”, opencv_traincascade.exe can't work immediately. Is there a bug in the traincascade of Opencv 2411? Could you give me some advice?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2015-03-08 10:03:53 -0600

vohungvi gravatar image

Is there any error message? If have comment it to here

edit flag offensive delete link more

Comments

Tanks for your help.I have uploaded the error image.

Sheng Liu gravatar imageSheng Liu ( 2015-03-08 19:20:52 -0600 )edit

I just increase the command "-featureType LBP" .Then the program can run well.I don't know why the default mode HAAR couldn't work.And how to increase the training speed?Thanks in advance.

Sheng Liu gravatar imageSheng Liu ( 2015-03-08 23:48:11 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-07 23:28:37 -0600

Seen: 310 times

Last updated: Mar 08 '15