DetectedPerson Class
Represents a person detected in an image.
- Inheritance
-
builtins.objectDetectedPerson
Constructor
DetectedPerson(bounding_box: Rectangle, confidence: float = 0.0)
Parameters
Name | Description |
---|---|
bounding_box
Required
|
|
confidence
|
Default value: 0.0
|
Attributes
bounding_box
A rectangular boundary within which the person was detected.
Coordinates are are in pixels, with (0,0) being the top-left of the source image.
bounding_box: Rectangle
confidence
A score that represents the likelihood that this detection was accurate.
Confidence scores span the range of 0.0 to 1.0 (inclusive), with higher values indicating higher probability.
confidence: float = 0.0
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python