Ask Your Question

Revision history [back]

Traincascade cannot reach False Alarm Rate?

I am trying to train a cascade to recognize objects with following parameters:

Sometimes it happens that a certain stage (not always the last stage) cannot reach FAR. If I understand correctly, this means that the stage almost cannot separate positives from negatives. Below is an example of output that in this case happened during training the last stage:

Does somebody has an idea why this could happen and what can I try to avoid this behavior?

Here, OpenCV 244 was used, does it make sense to try a newer version?

Many thanks!

Traincascade cannot reach False Alarm Rate?

I am trying to train a cascade to recognize objects with following parameters:

  1. boostType: GAB
  2. minHitRate: 0.998
  3. maxFalseAlarm: 0.5
  4. maxDepth: 1
  5. maxWeakCount: 2000
  6. TrimRate: 0.95

Sometimes it happens that a certain stage (not always the last stage) cannot reach FAR. If I understand correctly, this means that the stage almost cannot separate positives from negatives. Below It reaches 2000 weak classifiers. Hit rate remains 1, while FAR is an example of output that in this case happened during training the last stage:

0.999.

+----+---------+---------+
    |1989|        1| 0.999685|
    +----+---------+---------+
    |1990|        1| 0.999449|
    +----+---------+---------+
    |1991|        1| 0.999685|
    +----+---------+---------+
    |1992|        1| 0.999528|
    +----+---------+---------+
    |1993|        1| 0.999685|
    +----+---------+---------+
    |1994|        1| 0.999449|
    +----+---------+---------+
    |1995|        1| 0.999685|
    +----+---------+---------+
    |1996|        1| 0.999528|
    +----+---------+---------+
    |1997|        1| 0.999685|
    +----+---------+---------+
    |1998|        1| 0.999449|
    +----+---------+---------+
    |1999|        1| 0.999685|
    +----+---------+---------+
    |2000|        1| 0.999528|
    +----+---------+---------+

Does somebody has an idea why this could happen and what can I try to avoid this behavior?

Here, OpenCV 244 was used, does it make sense to try a newer version?

Many thanks!

Traincascade cannot reach False Alarm Rate?

I am trying to train a cascade to recognize objects with following parameters:

  1. boostType: GAB
  2. minHitRate: 0.998
  3. maxFalseAlarm: 0.5
  4. maxDepth: 1
  5. maxWeakCount: 2000
  6. TrimRate: 0.95

Sometimes it happens that a certain stage (not always the last stage) cannot reach FAR. If I understand correctly, this means that the stage almost cannot separate positives from negatives. It reaches 2000 weak classifiers. Hit rate remains 1, while FAR is 0.999.

+----+---------+---------+
    |1989|        1| 0.999685|
    +----+---------+---------+
    |1990|        1| 0.999449|
    +----+---------+---------+
    |1991|        1| 0.999685|
    +----+---------+---------+
    |1992|        1| 0.999528|
    +----+---------+---------+
    |1993|        1| 0.999685|
    +----+---------+---------+
    |1994|        1| 0.999449|
    +----+---------+---------+
    |1995|        1| 0.999685|
    +----+---------+---------+
    |1996|        1| 0.999528|
    +----+---------+---------+
    |1997|        1| 0.999685|
    +----+---------+---------+
    |1998|        1| 0.999449|
    +----+---------+---------+
    |1999|        1| 0.999685|
    +----+---------+---------+
    |2000|        1| 0.999528|
    +----+---------+---------+

Does somebody has an idea why this could happen and what can I try to avoid this behavior?

Here, OpenCV 244 2.4.4 was used, does it make sense to try a newer version?

Many thanks!