Ask Your Question

makeshifthoop's profile - activity

2015-08-20 03:32:08 -0600 commented question Train dataset for temp stage can not be filled. Branch training terminated."

Thanks! That actually helped a lot. This is my result so far. Currently it can detect 3 out of the four images. Any thoughts on how I can improve? I'm using the commands here. I'm confused about how the algo still has trouble identifying the app logo when there are so many examples of the logo in the training set.

2015-08-18 11:02:27 -0600 commented question Train dataset for temp stage can not be filled. Branch training terminated."

Thanks Steven for helping! I only have 2 samples in there because I read in the documentation

For example you may need only one positive sample for absolutely rigid object like an OpenCV logo

Should i just make different sizes/rotation of the same logo?

2015-08-17 23:06:49 -0600 asked a question Train dataset for temp stage can not be filled. Branch training terminated."

I am trying to detect logos in flat, 2 dimensional images (advertisements).


Setup- Positive Image #1 and #2

Negative Images (600 random advertisements) Sample #1 and Sample #2

With the command opencv_traincascade -data classifier -vec sample.vec -bg negatives.txt -numStages 2 -minHitRate 0.995 -maxFalseAlarmRate 0.5 -numPos 2 -numNeg 1500 -w 20 -h 20 -mode ALL -precalcValBufSize 2048 -precalcIdxBufSize 2048

Gives me the error -

"Train dataset for temp stage can not be filled. Branch training terminated."

image description

Any help would be greatly appreciated!