NAME
Paws::Rekognition::SegmentDetection
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Rekognition::SegmentDetection object:
$service_obj->Method(Att1 => { DurationMillis => $value, ..., Type => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::SegmentDetection object:
$result = $service_obj->Method(...);
$result->Att1->DurationMillis
DESCRIPTION
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.
ATTRIBUTES
DurationMillis => Int
The duration of the detected segment in milliseconds.
DurationSMPTE => Str
The duration of the timecode for the detected segment in SMPTE format.
EndTimecodeSMPTE => Str
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 => Int
The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.
ShotSegment => Paws::Rekognition::ShotSegment
If the segment is a shot detection, contains information about the shot detection.
StartTimecodeSMPTE => Str
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 => Int
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 => Paws::Rekognition::TechnicalCueSegment
If the segment is a technical cue, contains information about the technical cue.
Type => Str
The type of the segment. Valid values are TECHNICAL_CUE
and SHOT
.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Rekognition
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues