Module Values.LabelDetectionSource

Information about a label detected in a video analysis request and the time the label was detected in the video.

Sourcetype nonrec t = {
  1. timestamp : Timestamp.t option;
    (*

    Time, in milliseconds from the start of the video, that the label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the label first appears.

    *)
  2. label : Label.t option;
    (*

    Details about the detected label.

    *)
  3. startTimestampMillis : ULong.t option;
    (*

    The time in milliseconds defining the start of the timeline segment containing a continuously detected label.

    *)
  4. endTimestampMillis : ULong.t option;
    (*

    The time in milliseconds defining the end of the timeline segment containing a continuously detected label.

    *)
  5. durationMillis : ULong.t option;
    (*

    The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.

    *)
}
Sourceval make : ?timestamp:??? -> ?label:??? -> ?startTimestampMillis:??? -> ?endTimestampMillis:??? -> ?durationMillis:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Timestamp.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 ]) 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