First time here? Check out the FAQ!

Ask Your Question
4

HAAR training fails at different stages

asked Aug 8 '12

raft gravatar image

updated Aug 8 '12

I run opencv_traincascade for say 20 stages. It fails at stage 15 saying:

Required leaf false alarm rate achieved. Branch training terminated.

Than I run opencv_traincascade for 15 stages, this time it fails at stage 13. Then I run for 13 stages, this time it fails at stage 12 etc..

How can this happen? Looking at output, values are same at each run, but fails at different stages.

Preview: (hide)

Comments

1

Required leaf false alarm rate doesn't usually mean it has failed. It means it has completed training early than the number of stages you required, check the classifier directory and it should be in there.

If not try and increase your -minHitRate parameter

jackmagic1 gravatar imagejackmagic1 (Jan 27 '15)edit

1 answer

Sort by » oldest newest most voted
1

answered Jun 17 '15

Gino Strato gravatar image

Look at question:

How to train cascade properly

The answer is the last one, by Giuseppe Dini.

Preview: (hide)

Question Tools

2 followers

Stats

Asked: Aug 8 '12

Seen: 1,214 times

Last updated: Jun 17 '15