Ask Your Question

HAAR training fails at different stages

asked 2012-08-07 18:13:01 -0600

raft gravatar image

updated 2012-08-07 18:16:57 -0600

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.

edit retag flag offensive close merge delete



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 ( 2015-01-27 02:37:17 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-17 11:25:36 -0600

Gino Strato gravatar image

Look at question:

How to train cascade properly

The answer is the last one, by Giuseppe Dini.

edit flag offensive delete link more

Question Tools



Asked: 2012-08-07 18:13:01 -0600

Seen: 1,102 times

Last updated: Jun 17 '15