Class BoundingBox
Represents a rectangular region in an image, typically used for object detection results. X and Y specify the top-left corner, W and H specify the width and height.
Inherited Members
Namespace: Glitch9.AIDevKit.Microsoft.Azure.ComputerVision
Assembly: Glitch9.AIDevKit.Provider.Microsoft.Azure.dll
Syntax
public sealed class BoundingBox
Properties
| Edit this page View SourceH
Height of the bounding box.
Declaration
[JsonProperty("h")]
public int H { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
W
Width of the bounding box.
Declaration
[JsonProperty("w")]
public int W { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
X
Top-left X coordinate of the bounding box.
Declaration
[JsonProperty("x")]
public int X { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Y
Top-left Y coordinate of the bounding box.
Declaration
[JsonProperty("y")]
public int Y { get; set; }
Property Value
| Type | Description |
|---|---|
| int |