public static class Tracklet.BoundingBox extends Object implements 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. 
                                 | 
                            
private static long | 
                                serialVersionUID 
                                 | 
                            
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 | 
|---|---|
org.bytedeco.javacpp.opencv_core.Mat | 
                                getImage()
                                    Get the image stored in the bounding box. 
                                 | 
                            
byte[] | 
                                toBytes()
                                    Transform the bounding box into a byte array. 
                                 | 
                            
String | 
                                toString()
                                    Transform the bounding box to a Json string. 
                                 | 
                            
private static final long serialVersionUID
public int x
public int y
public int width
public int height
public byte[] patchData
public String toString()
public byte[] toBytes()
public org.bytedeco.javacpp.opencv_core.Mat getImage()