Values.LabelSourceStructure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.
type nonrec t = {name : String_.t option;The name (label) of the object or scene.
*)confidence : Percent.t option;Level of confidence.
*)instances : Instances.t option;If Label represents an object, Instances contains the bounding boxes for each instance of the detected object. Bounding boxes are returned for common object labels such as people, cars, furniture, apparel or pets.
*)parents : Parents.t option;The parent labels for a label. The response includes all ancestor labels.
*)aliases : LabelAliases.t option;A list of potential aliases for a given label.
*)categories : LabelCategories.t option;A list of the categories associated with a given label.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Float of Percent.t
| `List of
[> `Structure of
(string
* [> `Float of Percent.t
| `List of
[> `Structure of
(string
* [> `Float of Percent.t
| `Integer of UInteger.t
| `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of (string * [> `Float of Float_.t ]) list ])
list ]
list
| `String of String_.t ])
list ]