face-alignment icon indicating copy to clipboard operation
face-alignment copied to clipboard

Determine confidence scores on landmarks

Open TheFrator opened this issue 3 years ago • 2 comments

Hey!

Are there anyways to find the confidence scores of the landmark predictions? I see there's a parameter "return_landmark_score" in the "get_landmarks" method but I do not know what the units for that value are . The scores are an array.

TheFrator avatar Sep 19 '22 18:09 TheFrator

Same question. What is the scale of the confidence score? I thought it should be in (0,1), but I got some numbers like 1.679. Confused.

hengfei-wang avatar Jan 20 '23 11:01 hengfei-wang

The network was trained to regress values between 0 and 1, however in practice it will go beyond this range slightly depending on the image as the output is unbounded.

Generally this score is reliable enough as s coarse estimate (i.e. a score of 0.96 may not correspond to a more accurate landmark compared with 0.92, but likely will be compared with 0.6). A good usage of this score is to hide poorly localized points from being visualised or used.

1adrianb avatar Feb 05 '23 18:02 1adrianb