Is there a way to get a measurement of confidence level when using haar face detection using OpenCV?

后端 未结 4 1650
情歌与酒
情歌与酒 2021-01-12 04:10

I developed an application for face detection using OpenCVs HAAR cascade face detection. The algorithm works fine, however every once in a while It finds patterns on the wal

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-12 04:41

    Why not run multiple haar cascades (trained differently) against the same image and see if they produce similar results? Have them vote, as it were. Thus if only one cascade found a given face and the others didn't, that would give you less confidence in that given face.

    I was able to run 3 cascades simultaneously on an iPhone video feed in real-time, so performance shouldn't be an issue in many normal scenarios. More here: http://rwoodley.org/?p=417

提交回复
热议问题