pythonのopencvを使い画像認識のシステムを作成しています。
ですが、調べてもよくわからないエラーに悩まされています、、、どなたかわかりますでしょうか?
C:\Users\j2s1\Desktop\cv>opencv_traincascade.exe -data ./cascade/ -vec ./test.vec -bg ./ng/nglist.txt -numPos 800 -numNeg 40
このコードを打つと
PARAMETERS:
cascadeDirName: ./cascade/
vecFileName: ./test.vec
bgFileName: ./ng/nglist.txt
numPos: 800
numNeg: 40
numStages: 20
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
acceptanceRatioBreakValue : -1
stageType: BOOST
featureType: HAAR
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
Number of unique features given windowSize [24,24] : 162336
===== TRAINING 0-stage =====
<BEGIN
POS count : consumed 800 : 800
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.
このようなエラーがでます。
このサイトを参考に製作しています。
https://www.pc-koubou.jp/magazine/21280
あなたの回答
tips
プレビュー