public static class Tracklet.BoundingBox
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
height
The height of the bounding box.
|
byte[] |
patchData
The RGB data of the patch croped by the bounding box.
|
int |
width
The width of the bounding box.
|
int |
x
x-coordinator of the point on the left-upper corner of the bounding
box.
|
int |
y
y-coordinator of the point on the left-upper corner of the bounding
box.
|
Constructor and Description |
---|
BoundingBox() |
Modifier and Type | Method and Description |
---|---|
byte[] |
toBytes()
Transform the bounding box into a byte array.
|
java.lang.String |
toString()
Transform the bounding box to a Json string.
|
public int x
public int y
public int width
public int height
public byte[] patchData
public java.lang.String toString()
toString
in class java.lang.Object
public byte[] toBytes()