Ask Your Question

milko's profile - activity

2017-09-07 05:16:14 -0600 commented answer Traincascade cannot reach False Alarm Rate?

Steven, I am wondering about this - say if I put hit rate 0.99 for example. If I train say 20 stages that would actually

2017-09-07 04:57:06 -0600 commented answer Traincascade cannot reach False Alarm Rate?

The objects are small compared to image size. E.g. detection of motorcycles from the camera mounted on the road, so loca

2017-09-07 03:01:57 -0600 commented answer Traincascade cannot reach False Alarm Rate?

Steven thanks! The problem that I am trying to solve is actually a detection problem, not recognition. That is - I am tr

2017-09-06 09:56:32 -0600 edited question Traincascade cannot reach False Alarm Rate?

Traincascade cannot reach False Alarm Rate? I am trying to train a cascade to recognize objects with following parameter

2017-07-15 04:48:28 -0600 commented question Traincascade cannot reach False Alarm Rate?

I tried this with OpenCV 3.2 and observed the same behavior

2017-06-28 07:50:34 -0600 asked a question 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 2.4.4 was used, does it make sense to try a newer version?

Many thanks!