I am trying to detect logos in flat, 2 dimensional images (advertisements).
----------
Setup-
Positive Image [#1](http://imgur.com/8Hg0JvM&tkU7cZ2) and [#2](http://imgur.com/8Hg0JvM&tkU7cZ2#1)
Negative Images (600 random advertisements) Sample [#1](http://imgur.com/1NTBGoE,Bmq2Gwb) and Sample [#2](http://imgur.com/1NTBGoE,Bmq2Gwb#1)
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."

Any help would be greatly appreciated!
↧