Class: Aws::Rekognition::Types::LabelDetection

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#duration_millisInteger

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

Returns:

  • (Integer)


3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3838

class LabelDetection < Struct.new(
  :timestamp,
  :label,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis)
  SENSITIVE = []
  include Aws::Structure
end

#end_timestamp_millisInteger

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

Returns:

  • (Integer)


3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3838

class LabelDetection < Struct.new(
  :timestamp,
  :label,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis)
  SENSITIVE = []
  include Aws::Structure
end

#labelTypes::Label

Details about the detected label.

Returns:



3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3838

class LabelDetection < Struct.new(
  :timestamp,
  :label,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis)
  SENSITIVE = []
  include Aws::Structure
end

#start_timestamp_millisInteger

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

Returns:

  • (Integer)


3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3838

class LabelDetection < Struct.new(
  :timestamp,
  :label,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis)
  SENSITIVE = []
  include Aws::Structure
end

#timestampInteger

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.

Returns:

  • (Integer)


3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3838

class LabelDetection < Struct.new(
  :timestamp,
  :label,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis)
  SENSITIVE = []
  include Aws::Structure
end