Module Values.CustomLabelSource

A custom label detected in an image by a call to DetectCustomLabels.

Sourcetype nonrec t = {
  1. name : String_.t option;
    (*

    The name of the custom label.

    *)
  2. confidence : Percent.t option;
    (*

    The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

    *)
  3. geometry : Geometry.t option;
    (*

    The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.

    *)
}
Sourceval make : ?name:??? -> ?confidence:??? -> ?geometry:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Percent.t | `String of String_.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Float of Float_.t ]) list ] list | `Structure of (string * [> `Float of Float_.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t