public sealed class VideoObjectTrackingPredictionResult.Types.Frame : IMessage<VideoObjectTrackingPredictionResult.Types.Frame>, IEquatable<VideoObjectTrackingPredictionResult.Types.Frame>, IDeepCloneable<VideoObjectTrackingPredictionResult.Types.Frame>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class VideoObjectTrackingPredictionResult.Types.Frame.
The fields xMin
, xMax
, yMin
, and yMax
refer to a bounding box,
i.e. the rectangle over the video frame pinpointing the found
AnnotationSpec. The coordinates are relative to the frame size, and the
point 0,0 is in the top left of the frame.
Implements
IMessageVideoObjectTrackingPredictionResultTypesFrame, IEquatableVideoObjectTrackingPredictionResultTypesFrame, IDeepCloneableVideoObjectTrackingPredictionResultTypesFrame, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.PredictionAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Frame()
public Frame()
Frame(Frame)
public Frame(VideoObjectTrackingPredictionResult.Types.Frame other)
Parameter | |
---|---|
Name | Description |
other |
VideoObjectTrackingPredictionResultTypesFrame |
Properties
TimeOffset
public Duration TimeOffset { get; set; }
A time (frame) of a video in which the object has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.
Property Value | |
---|---|
Type | Description |
Duration |
XMax
public float? XMax { get; set; }
The rightmost coordinate of the bounding box.
Property Value | |
---|---|
Type | Description |
float |
XMin
public float? XMin { get; set; }
The leftmost coordinate of the bounding box.
Property Value | |
---|---|
Type | Description |
float |
YMax
public float? YMax { get; set; }
The bottommost coordinate of the bounding box.
Property Value | |
---|---|
Type | Description |
float |
YMin
public float? YMin { get; set; }
The topmost coordinate of the bounding box.
Property Value | |
---|---|
Type | Description |
float |