我正在使用OpenCV 2.2(使用OpenMP编译)运行HaarTraining流程。培训进度显示:
+----+----+-+---------+---------+---------+---------+
|7468| 44%|-|-2.712450| 1.000000| 0.719459| 0.108393|
+----+----+-+---------+---------+---------+---------+
|7469| 44%|-|-2.712449| 1.000000| 0.719459| 0.108393|
+----+----+-+---------+---------+---------+---------+
.......
7469的数字是什么意思(我只有7000个样本)?我怎么知道这个过程何时结束?
谢谢!
答案 0 :(得分:2)
N表示此级联的当前功能。 (见http://cv-kolaric.blogspot.com/2008/03/output-from-haartrainingexe.html)
+----+----+-+---------+---------+---------+---------+
| N |%%SMP|F| ST.THR | HR | FA | EXP. ERR|
+----+----+-+---------+---------+---------+---------+
N = current feature for this cascade (seq->total),
%%SMP = percentage of samples used, if trimmings enabled (v_wt)
F = '+' if isFilpped, if symmetry is specified (v_flipped), '-' otherwise
ST.THR = stage threshold,
HR = Hit Rate based on Stage threshold (v_hitrate / numpos),
FA = False alarm based on Stage threshold (v_falsealarm / numneg)
EXP.ERR = Strong classification error of adaboost algorithm,
based on threshold=0 (v_experr)
计算所有样本的不同功能。例如。根据样本之间的差异,计算出更多的特征,并且看起来你的正面图像彼此差异太大,无法对它们进行分类。
尝试在训练前先预处理图像。例如。删除背景,查找边缘,阈值图像,洪水填充。任何可以使您的正面图像设置看起来更相似的东西