Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit e357b15

Browse files
authored
Merge pull request #37 from hskang9/patch-3
ADD: LBP option to training command
2 parents e212ee0 + 0f28220 commit e357b15

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ OpenCV, and save the results to `./classifier`:
5151
-numStages 20 -minHitRate 0.999 -maxFalseAlarmRate 0.5 -numPos 1000\
5252
-numNeg 600 -w 80 -h 40 -mode ALL -precalcValBufSize 1024\
5353
-precalcIdxBufSize 1024
54+
55+
If you want to train it faster, configure feature type option with LBP:
56+
57+
opencv_traincascade -data classifier -vec samples.vec -bg negatives.txt\
58+
-numStages 20 -minHitRate 0.999 -maxFalseAlarmRate 0.5 -numPos 1000\
59+
-numNeg 600 -w 80 -h 40 -mode ALL -precalcValBufSize 1024\
60+
-precalcIdxBufSize 1024 -featureType LBP
5461

5562
After starting the training program it will print back its parameters and then start training. Each stage will print out some analysis as it is trained:
5663

0 commit comments

Comments
 (0)