Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv_traincascade message: Premature end of JPEG file.

Following the instruction form the blog on opencv_traincascade... Coding-Robin. At Stage 9 of training i am this message

Premature end of JPEG file

What is it about?

opencv_traincascade message: Premature end of JPEG file.

Following the instruction form the blog on opencv_traincascade... Coding-Robin. At Stage 9 of training i am this message

Premature end of JPEG file

What is it about?

Here is the command

opencv_traincascade -data classifier -vec samples.vec -bg negatives.txt -numStages 20 -minHitRate 0.999 -maxFalseAlarmRate 0.5 -numPos 1000 -numNeg 600 -w 60 -h 60 -mode ALL -precalcValBufSize 1024 -precalcIdxBufSize 1024 -featureType LBP