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_millis ⇒ Integer

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

Returns:

  • (Integer)


4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4882

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

#end_timestamp_millis ⇒ Integer

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

Returns:

  • (Integer)


4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4882

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

#label ⇒ Types::Label

Details about the detected label.

Returns:



4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4882

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

#start_timestamp_millis ⇒ Integer

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

Returns:

  • (Integer)


4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4882

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

#timestamp ⇒ Integer

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)


4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4882

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