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)


4793
4794
4795
4796
4797
4798
4799
4800
4801
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4793

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)


4793
4794
4795
4796
4797
4798
4799
4800
4801
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4793

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:



4793
4794
4795
4796
4797
4798
4799
4800
4801
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4793

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)


4793
4794
4795
4796
4797
4798
4799
4800
4801
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4793

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)


4793
4794
4795
4796
4797
4798
4799
4800
4801
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4793

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