DetectedObject interface
An object detected in an image.
Properties
confidence | Confidence score of having observed the object in the image, as a value ranging from 0 to 1. |
object | Label for the object. |
parent | The parent object, from a taxonomy perspective. The parent object is a more generic form of this object. For example, a 'bulldog' would have a parent of 'dog'. |
rectangle | Approximate location of the detected object. NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
confidence
Confidence score of having observed the object in the image, as a value ranging from 0 to 1.
confidence?: number
Property Value
number
object
Label for the object.
object?: string
Property Value
string
parent
The parent object, from a taxonomy perspective. The parent object is a more generic form of this object. For example, a 'bulldog' would have a parent of 'dog'.
parent?: ObjectHierarchy
Property Value
rectangle
Approximate location of the detected object. NOTE: This property will not be serialized. It can only be populated by the server.
rectangle?: BoundingRect