Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training steps #29

Open
zhouhao27 opened this issue Jun 27, 2018 · 1 comment
Open

Training steps #29

zhouhao27 opened this issue Jun 27, 2018 · 1 comment

Comments

@zhouhao27
Copy link

zhouhao27 commented Jun 27, 2018

Here is the command line I used for training:

/usr/local/Cellar/opencv/3.4.1_5/bin/opencv_traincascade -data /Users/xxx/Desktop/new-ocr/out// -vec /Users/xxx/Desktop/new-ocr/positive/vecfile.vec -bg /Users/xxx/Desktop/new-ocr/negative/negative.txt -w 70 -h 39 -numPos 640 -numNeg 4705 -maxFalseAlarmRate 0.45 -featureType LBP -numStages 11

But the train stopped at Stage 7:

===== TRAINING 7-stage =====
<BEGIN
POS count : consumed   640 : 650
NEG count : acceptanceRatio    0 : 0
Required leaf false alarm rate achieved. Branch training terminated.

What could be the reason? Thanks.

@fire717
Copy link

fire717 commented Jul 12, 2018

get more training data then you can run more stage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants