public class DetectPersonResult
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator |
CREATOR |
Constructor and Description |
---|
DetectPersonResult(int trackID,
PointF3D bodyLoc,
BBox3D bodyBox,
float trackConf,
Rectangle2D locCam,
int inTimeDelta,
boolean hasValidDepth) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
BBox3D |
getBodyBox()
Rectangular bounding box of the user's body in 3-D space.
|
PointF3D |
getBodyLoc()
PointF3D of the mass center the visible user's body with trackID with respect to Robot Base Coordinates (in meters) x axis means robot to user depth, y means left/right shift, z means user height above ground
|
Rectangle2D |
getBodyLocCam()
Rectangle2D of the mass center the visible user's face in camera frame, normalize to 0 - 1 value. if ( 0.5 , 0.5 ) means face on camera frame center.
|
float |
getTrackConf()
Confidence value of the current tracking results
|
int |
getTrackerTimeDelta()
The time difference between last update and this update in millisecond
|
int |
getTrackID()
Track ID is an integer number used to provide temporal consistency to identify the face/person in the current tracked ID
|
boolean |
hasValidDepth() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public DetectPersonResult(int trackID, PointF3D bodyLoc, BBox3D bodyBox, float trackConf, Rectangle2D locCam, int inTimeDelta, boolean hasValidDepth)
public int describeContents()
describeContents
in interface android.os.Parcelable
public BBox3D getBodyBox()
BBox3D
public PointF3D getBodyLoc()
PointF3D
public Rectangle2D getBodyLocCam()
Rectangle2D
public float getTrackConf()
public int getTrackerTimeDelta()
public int getTrackID()
public boolean hasValidDepth()
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable