1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.88k stars 1.33k forks source link

Elements in Bounding Boxes #298

Closed gitjohnnygit closed 1 year ago

gitjohnnygit commented 2 years ago

Hello @1adrianb, many thanks for your powerful work!

I can't figure it out why bounding_boxes contains 5 elements when a face is detected? The first four values are (x, y, x+w, y+h) with no doubt. But what is exactly the fifth value which is lower than 1 for the test image aflw-test?

Would appreciate for any comments.

1adrianb commented 2 years ago

Hi @gitjohnnygit

The last value is the confidence of the detected bounding box.

gitjohnnygit commented 2 years ago

Hi @1adrianb

I see! Many thanks for your quick reply.