AWSRekognitionSegmentDetection

Objective-C

@interface AWSRekognitionSegmentDetection

Swift

class AWSRekognitionSegmentDetection

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.

  • The duration of a video segment, expressed in frames.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable durationFrames;

    Swift

    var durationFrames: NSNumber? { get set }
  • The duration of the detected segment in milliseconds.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable durationMillis;

    Swift

    var durationMillis: NSNumber? { get set }
  • The duration of the timecode for the detected segment in SMPTE format.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable durationSMPTE;

    Swift

    var durationSMPTE: String? { get set }
  • The frame number at the end of a video segment, using a frame index that starts with 0.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable endFrameNumber;

    Swift

    var endFrameNumber: NSNumber? { get set }
  • 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).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable endTimecodeSMPTE;

    Swift

    var endTimecodeSMPTE: String? { get set }
  • The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable endTimestampMillis;

    Swift

    var endTimestampMillis: NSNumber? { get set }
  • If the segment is a shot detection, contains information about the shot detection.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionShotSegment *_Nullable shotSegment;

    Swift

    var shotSegment: AWSRekognitionShotSegment? { get set }
  • The frame number of the start of a video segment, using a frame index that starts with 0.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable startFrameNumber;

    Swift

    var startFrameNumber: NSNumber? { get set }
  • 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).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable startTimecodeSMPTE;

    Swift

    var startTimecodeSMPTE: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable startTimestampMillis;

    Swift

    var startTimestampMillis: NSNumber? { get set }
  • If the segment is a technical cue, contains information about the technical cue.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionTechnicalCueSegment *_Nullable technicalCueSegment;

    Swift

    var technicalCueSegment: AWSRekognitionTechnicalCueSegment? { get set }
  • The type of the segment. Valid values are TECHNICAL_CUE and SHOT.

    Declaration

    Objective-C

    @property (nonatomic) AWSRekognitionSegmentType types;

    Swift

    var types: AWSRekognitionSegmentType { get set }