Ask Your Question
0

How to find out the accuracy of facedetection?

asked 2019-03-29 20:06:13 -0600

I found out, how to find a rectangle that containes a face on a photo, using basic haarcascade, but now I need to return not only a rectangle coordinates, but also an accuracy. It should be some value, that could indicate an algorithm's assurance in found face.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-03-30 03:49:17 -0600

berak gravatar image

there are 2 ways to do this, IF you have "ground truth" information (you know the Rect, where the face should be) you can use the jaccard distance as a similarity measure.

if you haven't, you can use another detectMultiScale overload, that gives you the levelWeights.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-03-29 20:06:13 -0600

Seen: 159 times

Last updated: Mar 30 '19