FacePose API.
More...
boolean com.dface.api.FacePose.initLoad |
( |
String |
model_path | ) |
|
init FacePose
- Parameters
-
- Returns
- init status
FaceLandmark com.dface.api.FacePose.predictPose |
( |
byte[] |
data, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
format, |
|
|
Bbox |
bbox |
|
) |
| |
Detect face landmarks and 3d pose(Euler angles) information
- Parameters
-
data | Image bytes data |
w | Image width |
h | Image height |
format | Image format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...) |
- See also
- com.dface.dto.FrameFormatType
- Parameters
-
- See also
- FaceLandmark
- Returns
- face landmarks and pose information
FaceLandmark com.dface.api.FacePose.predictPose |
( |
Bitmap |
frameBitmap, |
|
|
Bbox |
bbox |
|
) |
| |
Detect face landmarks and 3d pose(Euler angles) information
- Parameters
-
frameBitmap | Frame bitmap |
bbox | Face box |
- See also
- FaceLandmark
- Returns
- face landmarks and pose information
boolean com.dface.api.FacePose.setCameraParameter |
( |
float |
focalLength, |
|
|
float |
opticalCenterX, |
|
|
float |
opticalCenterY |
|
) |
| |
Set camera parameters
- Parameters
-
focalLength | Camera focal length(unit pixels),default 500px
focalLength = f_mm * (sensor_size_px / sensor_size_mm)
f_mm: camera physic focal length(unit mm)
sensor_size_px:camera sensor size, unit pixels
sensor_size_mm:camera sensor physic size, unit mm
|
opticalCenterX | opticalCenterX=image width/2,unit pixels |
opticalCenterY | opticalCenterY=image height/2,unit pixels |
boolean com.dface.api.FacePose.uninitLoad |
( |
| ) |
|
The documentation for this class was generated from the following file:
- java/en/com/dface/api/FacePose.java