Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SegmentDetection

import type { SegmentDetection } from "https://aws-api.deno.dev/v0.4/services/rekognition.ts?docs=full";

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

interface SegmentDetection {
DurationFrames?: number | null;
DurationMillis?: number | null;
DurationSMPTE?: string | null;
EndFrameNumber?: number | null;
EndTimecodeSMPTE?: string | null;
EndTimestampMillis?: number | null;
ShotSegment?: ShotSegment | null;
StartFrameNumber?: number | null;
StartTimecodeSMPTE?: string | null;
StartTimestampMillis?: number | null;
TechnicalCueSegment?: TechnicalCueSegment | null;
Type?: SegmentType | null;
}

§Properties

§
DurationFrames?: number | null
[src]

The duration of a video segment, expressed in frames.

§
DurationMillis?: number | null
[src]

The duration of the detected segment in milliseconds.

§
DurationSMPTE?: string | null
[src]

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

§
EndFrameNumber?: number | null
[src]

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

§
EndTimecodeSMPTE?: string | null
[src]

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

§
EndTimestampMillis?: number | null
[src]

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

§
ShotSegment?: ShotSegment | null
[src]

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

§
StartFrameNumber?: number | null
[src]

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

§
StartTimecodeSMPTE?: string | null
[src]

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

§
StartTimestampMillis?: number | null
[src]

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.

§
TechnicalCueSegment?: TechnicalCueSegment | null
[src]

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

§
Type?: SegmentType | null
[src]

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