我至今嘗試過...爲什麼opencv_traincascade失敗:「無法填充臨時舞臺的訓練數據集」?
opencv_createsamples -info positive/positive.txt -vec positive.vec -w 100 -h 100 -num 2
opencv_createsamples -info negative/negative.txt -vec negative.vec -w 100 -h 100 -num 2
opencv_traincascade -vec positive.vec -data . -bg negative/negative.txt -numPos 1 -numNeg 1 -numStages 1 -w 100 -h 100
# outputs
Train dataset for temp stage can not be filled. Branch training terminated. Cascade classifier can't be trained. Check the used training parameters.
如何培養哈爾模型非常少的陽性?目標是追蹤二維圖像中的二維圖像。
Ty。我已經注意到了。這是早期嘗試的複製粘貼。 –
任何理由,然後,不要upvote它並將其標記爲正確的? – Vynce
這不能解決問題 –