GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_LabelSegment (google_api_video_intelligence v0.33.0)

View Source

Video segment level annotation results for label detection.

Attributes

  • confidence (type: number(), default: nil) - Confidence that the label is accurate. Range: [0, 1].
  • segment (type: GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_VideoSegment.t, default: nil) - Video segment where a label was detected.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_LabelSegment{
    confidence: number() | nil,
    segment:
      GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_VideoSegment.t()
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.