Class DetectedPerson

java.lang.Object
com.azure.ai.vision.imageanalysis.models.DetectedPerson

public final class DetectedPerson extends Object
Represents a person detected in an image.
  • Method Details

    • getBoundingBox

      public ImageBoundingBox 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.