Traincascade cannot reach False Alarm Rate?
I am trying to train a cascade to recognize objects with following parameters:
- boostType: GAB
- minHitRate: 0.998
- maxFalseAlarm: 0.5
- maxDepth: 1
- maxWeakCount: 2000
- 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!
I tried this with OpenCV 3.2 and observed the same behavior