public class FaceResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
FaceResult.FaceResultKey |
Constructor and Description |
---|
FaceResult(java.lang.String json) |
Modifier and Type | Method and Description |
---|---|
PointF3D |
getFaceAngle()
Return user face rotation angel, in order of roll = x, pitch = y, yaw = z PointF3D(pose.roll,pose.pitch,pose.yaw);
|
BBox3D |
getFaceBox()
Rectangular bounding box of the user's face in 3-D space.
|
int |
getFaceEmotion()
If request has face emotion, it will return the state of face emotion result
|
PointF3D |
getFaceLoc()
PointF3D of the mass center the visible user's face 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 |
getFaceLocCam()
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
|
java.util.HashMap<java.lang.String,java.lang.Float> |
getFaceRecognitionScore()
Get similarity score of face recognition, in pair of UUID / Score Score is similarity mormalize to 0-100, 100 means the same as enroll person
|
HeadGazeDirection |
getHeadGazeDirection()
get head gaze direction classify result
|
int |
getHeadPoseConfidence()
confidence value of head pose angle prediction, valid = 100, not-valid = 0
|
int |
getTrackID()
Track ID is an integer number used to provide temporal consistency to identify the face/person in the current tracked ID
|
java.lang.String |
getUuid()
If the request has face recognition process, it will return face ID (UUID) which recognizes faces
|
boolean |
hasValidDepth()
if this result is from intel estimation or our own depth average.
|
boolean |
hasValidHeadROI()
return whether this face is from true head detection or from body rectangle
|
boolean |
isCandidateObj()
if this detection result is only proposal region, not formal detected person
|
public PointF3D getFaceAngle()
PointF3D
public BBox3D getFaceBox()
BBox3D
public int getFaceEmotion()
public PointF3D getFaceLoc()
PointF3D
public Rectangle2D getFaceLocCam()
Rectangle2D
public java.util.HashMap<java.lang.String,java.lang.Float> getFaceRecognitionScore()
public HeadGazeDirection getHeadGazeDirection()
HeadGazeDirection
public int getHeadPoseConfidence()
public int getTrackID()
public java.lang.String getUuid()
public boolean hasValidDepth()
public boolean hasValidHeadROI()
public boolean isCandidateObj()