Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ opencv_traincascade -data cascade -vec samples/positives.vec -bg negative_samples -numStages 20 -precalcValBufSize 10 -precalcIdxBufSize 200 -acceptanceRatioBreakValue 0.0001 -w 50 -h 50 -mode ALL -maxWeakCount 100 -maxDepth 1 -weightTrimRate 0.95
- PARAMETERS:
- cascadeDirName: cascade
- vecFileName: samples/positives.vec
- bgFileName: negative_samples
- numPos: 2000
- numNeg: 1000
- numStages: 20
- precalcValBufSize[Mb] : 10
- precalcIdxBufSize[Mb] : 200
- acceptanceRatioBreakValue : 0.0001
- stageType: BOOST
- featureType: HAAR
- sampleWidth: 50
- sampleHeight: 50
- boostType: GAB
- minHitRate: 0.995
- maxFalseAlarmRate: 0.5
- weightTrimRate: 0.95
- maxDepth: 1
- maxWeakCount: 100
- mode: ALL
- Number of unique features given windowSize [50,50] : 5005351
- ===== TRAINING 0-stage =====
- <BEGIN
- POS count : consumed 2000 : 2000
- NEG count : acceptanceRatio 1000 : 1
- Precalculation time: 8.716
- +----+---------+---------+
- | N | HR | FA |
- +----+---------+---------+
- | 1| 0.9995| 0.011|
- +----+---------+---------+
- END>
- Training until now has taken 0 days 1 hours 5 minutes 58 seconds.
- ===== TRAINING 1-stage =====
- <BEGIN
- POS count : consumed 2000 : 2001
- NEG count : acceptanceRatio 1000 : 0.0122336
- Precalculation time: 12.277
- +----+---------+---------+
- | N | HR | FA |
- +----+---------+---------+
- | 1| 1| 1|
- +----+---------+---------+
- | 2| 1| 0.287|
- +----+---------+---------+
- END>
- Training until now has taken 0 days 2 hours 26 minutes 57 seconds.
- ===== TRAINING 2-stage =====
- <BEGIN
- POS count : consumed 2000 : 2001
- NEG count : acceptanceRatio 1000 : 0.00352168
- Precalculation time: 5.118
- +----+---------+---------+
- | N | HR | FA |
- +----+---------+---------+
- | 1| 1| 1|
- +----+---------+---------+
- | 2| 1| 0.114|
- +----+---------+---------+
- END>
- Training until now has taken 0 days 3 hours 31 minutes 55 seconds.
- ===== TRAINING 3-stage =====
- <BEGIN
- POS count : consumed 2000 : 2001
- NEG count : acceptanceRatio 1000 : 0.000405367
- Precalculation time: 4.813
- +----+---------+---------+
- | N | HR | FA |
- +----+---------+---------+
- | 1| 1| 0|
- +----+---------+---------+
- END>
- Training until now has taken 0 days 4 hours 32 minutes 57 seconds.
- ===== TRAINING 4-stage =====
- <BEGIN
- POS count : consumed 2000 : 2001
- Train dataset for temp stage can not be filled. Branch training terminated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement