Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't Generate XML file

Hi guys,

I'm trying to train my own xml file to detect balloons for my project. Here's my arguments when using traincascade in win7:

\opencv_traincascade.exe -data classifier -vec samples.vec -bg neg.txt -numStages 20 -minHitRate 0.995 -maxFalseAlarmrRate 0.5 -numPos 610 -numNeg 3000 -w 60 -h 60 -mode ALL -precalcValBufSize 256 -precalcldxBufSize 256

FYI, the size of .vec file is about 3200. Sizes are different, most of them are 60x60.

Here's my question: 1. The program kind of stuck at stage 12 since it hasn't updated any information for more than 2 days 2. I tried to kill the program and generate a XML file with the existing 12 stages(0-11). However, the program just got killed after it displayed: Stages 0-11 are loaded.

Hope someone could explain. Thanks a lot.

Can't Generate XML file

Hi guys,

I'm trying to train my own xml file to detect balloons for my project. Here's my arguments when using traincascade in win7:

\opencv_traincascade.exe

opencv_traincascade.exe -data classifier -vec samples.vec -bg neg.txt -numStages 20 -minHitRate 0.995 -maxFalseAlarmrRate 0.5 -numPos 610 -numNeg 3000 -w 60 -h 60 -mode ALL -precalcValBufSize 256 -precalcldxBufSize 256

256

FYI, the size of .vec file is about 3200. Sizes are different, most of them are 60x60.

Here's my question: 1. question:

  1. The program kind of stuck at stage 12 since it hasn't updated any information for more than 2 days 2. days
  2. I tried to kill the program and generate a XML file with the existing 12 stages(0-11). However, the program just got killed after it displayed: Stages 0-11 are loaded.

Hope someone could explain. Thanks a lot.