Uncertainty score

The API returns a confidence score of the cutout through the HTTP header x-uncertainty-score.

The uncertainty score is a number between 0 and 1:

  • 0 means the model is very confident that the cutout is accurate

  • 1 means the model is unsure.

For instance, shoes on a shoe box might give a higher uncertainty score as the model is unsure what to segment (shoes, box or both):

High uncertainty score: between 0.7 and 1

Low uncertainty score: between 0 and 0.3

Please note that the uncertainty score is not guaranteed to be stable over time: the same image might yield a different uncertainty score in the future.

We currently return an uncertainty score only for images of objects. If an image contains humans, we'll return the value -1.

Last updated