Class: Aws::Rekognition::Types::SegmentDetection

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

Overview

A technical cue or shot detection segment detected in a video. An array of SegmentDetection objects containing all segments detected in a stored video is returned by GetSegmentDetection.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#duration_framesInteger

The duration of a video segment, expressed in frames.

Returns:

  • (Integer)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#duration_millisInteger

The duration of the detected segment in milliseconds.

Returns:

  • (Integer)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#duration_smpteString

The duration of the timecode for the detected segment in SMPTE format.

Returns:

  • (String)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#end_frame_numberInteger

The frame number at the end of a video segment, using a frame index that starts with 0.

Returns:

  • (Integer)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#end_timecode_smpteString

The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment. EndTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).

Returns:

  • (String)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#end_timestamp_millisInteger

The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.

Returns:

  • (Integer)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#shot_segmentTypes::ShotSegment

If the segment is a shot detection, contains information about the shot detection.

Returns:



5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#start_frame_numberInteger

The frame number of the start of a video segment, using a frame index that starts with 0.

Returns:

  • (Integer)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#start_timecode_smpteString

The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment. StartTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).

Returns:

  • (String)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#start_timestamp_millisInteger

The start time of the detected segment in milliseconds from the start of the video. This value is rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a value of 100 millis.

Returns:

  • (Integer)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#technical_cue_segmentTypes::TechnicalCueSegment

If the segment is a technical cue, contains information about the technical cue.



5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the segment. Valid values are TECHNICAL_CUE and SHOT.

Returns:

  • (String)


5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5186

class SegmentDetection < Struct.new(
  :type,
  :start_timestamp_millis,
  :end_timestamp_millis,
  :duration_millis,
  :start_timecode_smpte,
  :end_timecode_smpte,
  :duration_smpte,
  :technical_cue_segment,
  :shot_segment,
  :start_frame_number,
  :end_frame_number,
  :duration_frames)
  SENSITIVE = []
  include Aws::Structure
end