DFACE JAVA SDK  5.0.0
com.dface.api.FaceRecognize Class Reference

FaceRecognize API. More...

Collaboration diagram for com.dface.api.FaceRecognize:

Public Member Functions

boolean initLoad (String model_path, int feature_precision)
 
boolean uninitLoad ()
 
byte[] extractFaceFeatureByImg (byte[] data, int w, int h, int format, Bbox bbox)
 
byte[] extractFaceFeatureByImg (Bitmap frameBitmap, Bbox bbox)
 

Detailed Description

Member Function Documentation

byte [] com.dface.api.FaceRecognize.extractFaceFeatureByImg ( byte[]  data,
int  w,
int  h,
int  format,
Bbox  bbox 
)

Extract face feature(for face compare)

Parameters
dataImage bytes data
wImage width
hImage height
formatImage format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...)
See also
com.dface.dto.FrameFormatType
Parameters
bboxFace box
Returns
face feature
byte [] com.dface.api.FaceRecognize.extractFaceFeatureByImg ( Bitmap  frameBitmap,
Bbox  bbox 
)

Extract face feature(for face compare)

Parameters
frameBitmapFrame bitmap
bboxFace box
Returns
face feature
boolean com.dface.api.FaceRecognize.initLoad ( String  model_path,
int  feature_precision 
)

init FaceRecognize

Parameters
model_pathmodel path
feature_precisionfeature precision
See also
AccuracyMode
Returns
init status
boolean com.dface.api.FaceRecognize.uninitLoad ( )

uninit FaceRecognize

Returns
uninit status

The documentation for this class was generated from the following file: