ObjectProperty¶
- class oci.ai_vision.models.ObjectProperty(**kwargs)¶
Bases:
objectA property of a tracked object in a frame.
Methods:
__init__(**kwargs)Initializes a new ObjectProperty object with values from keyword arguments.
Attributes:
[Required] Gets the bounding_polygon of this ObjectProperty.
[Required] Gets the confidence of this ObjectProperty.
[Required] Gets the name of this ObjectProperty.
- __init__(**kwargs)¶
Initializes a new ObjectProperty object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this ObjectProperty.
confidence (float) – The value to assign to the confidence property of this ObjectProperty.
bounding_polygon (oci.ai_vision.models.BoundingPolygon) – The value to assign to the bounding_polygon property of this ObjectProperty.
- property bounding_polygon¶
[Required] Gets the bounding_polygon of this ObjectProperty.
- Returns
The bounding_polygon of this ObjectProperty.
- Return type
- property confidence¶
[Required] Gets the confidence of this ObjectProperty. The confidence score, between 0 and 1.
- Returns
The confidence of this ObjectProperty.
- Return type
float
- property name¶
[Required] Gets the name of this ObjectProperty. Property name
- Returns
The name of this ObjectProperty.
- Return type
str