Face Detection

FREEMIUM
Verified
By API 4 AI | Updated 14 days ago | Visual Recognition
Popularity

9.2 / 10

Latency

7,646ms

Service Level

100%

Health Check

100%

Back to All Discussions

What do the values of face box represent?

Rapid account: Alextheprogrammer
alextheprogrammer
7 months ago

What do the values of:
results[].entities[].objects[].box - array Face bounding box defined by 4 float values.

represent?

Here are the values I’m getting: [0.5315673989209466, 0.2594343831344356, 0.11023700964392573, 0.1469826795252343]

They’re always in between 0 and 1. and the assumption is that they are left, top of the top corner of the face box and then width and height of the box. The problem is the unit of measure: they don’t seem to be pixels but rather percentages? like if the value for left is 0, the face begins right from the left edge of the image while if it’s 0.8, it begins 80% into the width of the image relative to the pixel width.

Join in the discussion - add comment below:

Login / Signup to post new comments