AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.Rekognition.Model.SegmentDetection

Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z

Syntax

C#
public class SegmentDetection

The SegmentDetection type exposes the following members

Constructors

NameDescription
Public Method SegmentDetection()

Properties

NameTypeDescription
Public Property DurationFrames System.Int64

Gets and sets the property DurationFrames.

The duration of a video segment, expressed in frames.

Public Property DurationMillis System.Int64

Gets and sets the property DurationMillis.

The duration of the detected segment in milliseconds.

Public Property DurationSMPTE System.String

Gets and sets the property DurationSMPTE.

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

Public Property EndFrameNumber System.Int64

Gets and sets the property EndFrameNumber.

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

Public Property EndTimecodeSMPTE System.String

Gets and sets the property EndTimecodeSMPTE.

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).

Public Property EndTimestampMillis System.Int64

Gets and sets the property EndTimestampMillis.

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

Public Property ShotSegment Amazon.Rekognition.Model.ShotSegment

Gets and sets the property ShotSegment.

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

Public Property StartFrameNumber System.Int64

Gets and sets the property StartFrameNumber.

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

Public Property StartTimecodeSMPTE System.String

Gets and sets the property StartTimecodeSMPTE.

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).

Public Property StartTimestampMillis System.Int64

Gets and sets the property StartTimestampMillis.

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.

Public Property TechnicalCueSegment Amazon.Rekognition.Model.TechnicalCueSegment

Gets and sets the property TechnicalCueSegment.

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

Public Property Type Amazon.Rekognition.SegmentType

Gets and sets the property Type.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5