ObjectHierarchy interface
An object detected inside 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'. |
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