I’m running a HaarTraining process using OpenCV 2.2 (compiled with OpenMP). The training progress shows:
+----+----+-+---------+---------+---------+---------+
|7468| 44%|-|-2.712450| 1.000000| 0.719459| 0.108393|
+----+----+-+---------+---------+---------+---------+
|7469| 44%|-|-2.712449| 1.000000| 0.719459| 0.108393|
+----+----+-+---------+---------+---------+---------+
.......
What does the number 7469 mean (I only have 7000 samples)? How can I know when the process is going to finish?
Thanks!
N means the current feature for this cascade. (see http://cv-kolaric.blogspot.com/2008/03/output-from-haartrainingexe.html)
Different features are calculated for all your samples. E.g. x-y derratives, contrast-ratios etc. etc. Depending on the difference between your samples, more features are calculated, and it seems your positive images are just too different from each other, to categorize them.
Try to pre-process your images first, before training. E.g. remove background, find edges, threshold the images, flood-fill. Anything that can make your positive image set look more alike