Class DetectedPerson
java.lang.Object
com.azure.ai.vision.imageanalysis.models.DetectedPerson
Represents a person detected in an image.
-
Method Summary
Modifier and TypeMethodDescriptionGet the boundingBox property: A rectangular boundary where the person was detected.doubleGet the confidence property: A score, in the range of 0 to 1 (inclusive), representing the confidence that this detection was accurate.
-
Method Details
-
getBoundingBox
Get the boundingBox property: A rectangular boundary where the person was detected.- Returns:
- the boundingBox value.
-
getConfidence
public double getConfidence()Get the confidence property: A score, in the range of 0 to 1 (inclusive), representing the confidence that this detection was accurate. Higher values indicating higher confidence.- Returns:
- the confidence value.
-