public sealed class VideoObjectTrackingPredictionResult.Types.BoundingBox : IMessage<VideoObjectTrackingPredictionResult.Types.BoundingBox>, IEquatable<VideoObjectTrackingPredictionResult.Types.BoundingBox>, IDeepCloneable<VideoObjectTrackingPredictionResult.Types.BoundingBox>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class VideoObjectTrackingPredictionResult.Types.BoundingBox.
Boundingbox for detected object. 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
IMessageVideoObjectTrackingPredictionResultTypesBoundingBox, IEquatableVideoObjectTrackingPredictionResultTypesBoundingBox, IDeepCloneableVideoObjectTrackingPredictionResultTypesBoundingBox, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
BoundingBox()
public BoundingBox()BoundingBox(BoundingBox)
public BoundingBox(VideoObjectTrackingPredictionResult.Types.BoundingBox other)| Parameter | |
|---|---|
| Name | Description |
other |
VideoObjectTrackingPredictionResultTypesBoundingBox |
Properties
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 |
|