DFACE C++  5.0.0
dface Namespace Reference

Classes

struct  _Box
 Face Box. More...
 
struct  _Point
 Point. More...
 
struct  _Rect
 Rect. More...
 
class  DfaceAssessment
 FaceAssessment API. More...
 
class  DfaceAttribute
 FaceAttribute API. More...
 
class  DfaceCompare
 FaceCompare API. More...
 
class  DfaceDetect
 FaceDetect API. More...
 
class  DfaceNIRLiveness
 FaceNIRLiveness API. More...
 
class  DfacePose
 FacePose API. More...
 
class  DfaceRecognize
 FaceRecognize API. More...
 
class  DfaceRGBLiveness
 FaceRGBLiveness API. More...
 
class  DfaceTrack
 FaceTrack API. More...
 
struct  Size
 Size. More...
 

Typedefs

typedef enum dface::_ACCURACY ACCURACY
 Recognize feature precision. More...
 
typedef enum dface::_DETECT_PRECISION DETECT_PRECISION
 Face detect precision. More...
 
typedef enum dface::_RGB_LIVENESS_LEVEL RGB_LIVENESS_LEVEL
 RGBLiveness Level. More...
 
typedef enum dface::_IMG_FORMAT IMG_FORMAT
 
typedef enum dface::_LICENSE_INFO LICENSE_INFO
 
typedef struct dface::_Box Box
 Face Box. More...
 
typedef struct dface::_Point Point
 Point. More...
 
typedef struct dface::_Rect Rect
 Rect. More...
 
typedef DfaceAssessmentCreateAssessment(const std::string &model_path)
 
typedef void DestroyAssessment(DfaceAssessment *dc)
 
typedef DfaceAttributeCreateAttribute(const std::string &model_path)
 
typedef void DestroyAttribute(DfaceAttribute *dc)
 
typedef DfaceCompareCreateCompare(const std::string &model_path, int feature_precision)
 
typedef void DestroyCompare(DfaceCompare *dc)
 
typedef DfaceDetectCreateDetect(const std::string &model_path, int precision)
 
typedef void DestroyDetect(DfaceDetect *dc)
 
typedef DfaceNIRLivenessCreateNIRLiveness(const std::string &model_path)
 
typedef void DestroyNIRLiveness(DfaceNIRLiveness *dc)
 
typedef DfacePoseCreatePose(const std::string &model_path)
 
typedef void DestroyPose(DfacePose *dc)
 
typedef DfaceRecognizeCreateRecognize(const std::string &model_path, int precision)
 
typedef void DestroyRecognize(DfaceRecognize *rc)
 
typedef DfaceRGBLivenessCreateRGBLiveness(const std::string &model_path, int level)
 
typedef void DestroyRGBLiveness(DfaceRGBLiveness *instance)
 
typedef DfaceTrackCreateTrack(const std::string &model_path, int frame_width, int frame_height, int max_age, int min_hit)
 
typedef void DestroyTrack(DfaceTrack *rc)
 

Enumerations

enum  _ACCURACY { V2 = 2, V3 = 3 }
 Recognize feature precision. More...
 
enum  _DETECT_PRECISION { Precision_Low = 0, Precision_High = 1 }
 Face detect precision. More...
 
enum  _RGB_LIVENESS_LEVEL { LEVEL_0 = 0, LEVEL_1 = 1, LEVEL_2 = 2, LEVEL_3 = 3 }
 RGBLiveness Level. More...
 
enum  _IMG_FORMAT {
  PIXELS_RGB = 1, PIXELS_BGR = 2, PIXELS_GRAY = 4, PIXELS_RGBA = 8,
  PIXELS_BGRA = 16, PIXELS_NV21 = 32, PIXELS_YUY2 = 64
}
 
enum  _LICENSE_INFO {
  INFO_SERVER_ADDRESS = 0, INFO_SN = 1, INFO_SN_FEATURE = 2, INFO_SN_LICENSE = 3,
  INFO_UPDATE_ERROR = 4, INFO_CONFIG = 5
}
 

Typedef Documentation

Recognize feature precision.

typedef struct dface::_Box dface::Box

Face Box.

typedef DfaceAssessment* dface::CreateAssessment(const std::string &model_path)

Create FaceAssessment instance

Parameters
model_pathModel path
typedef DfaceAttribute* dface::CreateAttribute(const std::string &model_path)

Create DfaceAttribute instance

Parameters
model_pathModel path
typedef DfaceCompare* dface::CreateCompare(const std::string &model_path, int feature_precision)

Create FaceCompare instance

typedef DfaceDetect* dface::CreateDetect(const std::string &model_path, int precision)

Create FaceDetect

Parameters
[in]model_pathModel path
typedef DfaceNIRLiveness* dface::CreateNIRLiveness(const std::string &model_path)

Create FaceNIRLiveness

typedef DfacePose* dface::CreatePose(const std::string &model_path)

Create FacePose instance

Parameters
model_pathModel path
typedef DfaceRecognize* dface::CreateRecognize(const std::string &model_path, int precision)

Create FaceRecognize instance

typedef DfaceRGBLiveness* dface::CreateRGBLiveness(const std::string &model_path, int level)

Create FaceRGBLiveness instance

typedef DfaceTrack* dface::CreateTrack(const std::string &model_path, int frame_width, int frame_height, int max_age, int min_hit)

Create FaceTrack instance

typedef void dface::DestroyAssessment(DfaceAssessment *dc)

Destroy FaceAssessment instance

Parameters
dcPointer of FaceAssessment instance
typedef void dface::DestroyAttribute(DfaceAttribute *dc)

Destroy DfaceAttribute instance

Parameters
dcPointer of FaceAttribute instance
typedef void dface::DestroyCompare(DfaceCompare *dc)

Destroy FaceCompare instance

Parameters
[in]dcPointer of FaceCompare instance
typedef void dface::DestroyDetect(DfaceDetect *dc)

Destroy FaceDetect

Parameters
[in]dcPointer of FaceDetect instance
typedef void dface::DestroyNIRLiveness(DfaceNIRLiveness *dc)

Destroy FaceNIRLiveness

Parameters
[in]dcPointer of FaceNIRLiveness instance
typedef void dface::DestroyPose(DfacePose *dc)

Destroy FacePose instance

Parameters
dcPointer of FacePose instance
typedef void dface::DestroyRecognize(DfaceRecognize *rc)

Destroy FaceRecognize instance

Parameters
rcPointer of FaceRecognize instance
typedef void dface::DestroyRGBLiveness(DfaceRGBLiveness *instance)

Destroy FaceRGBLiveness instance

Parameters
instancePointer of FaceRGBLiveness instance
typedef void dface::DestroyTrack(DfaceTrack *rc)

Destroy FaceTrack instance

Parameters
rcPointer of FaceTrack instance

Face detect precision.

typedef struct dface::_Point dface::Point

Point.

typedef struct dface::_Rect dface::Rect

Rect.

RGBLiveness Level.

Enumeration Type Documentation

Recognize feature precision.

Enumerator
V2 
V3 

Face detect precision.

Enumerator
Precision_Low 

precision low

Precision_High 

precision high

Enumerator
PIXELS_RGB 

RGB format

PIXELS_BGR 

BGR format

PIXELS_GRAY 

GRAY format

PIXELS_RGBA 

RGBA format

PIXELS_BGRA 

BGRA format

PIXELS_NV21 

NV21 format

PIXELS_YUY2 

YUY2 format

Enumerator
INFO_SERVER_ADDRESS 
INFO_SN 
INFO_SN_FEATURE 
INFO_SN_LICENSE 
INFO_UPDATE_ERROR 
INFO_CONFIG 

RGBLiveness Level.

Enumerator
LEVEL_0 
LEVEL_1 
LEVEL_2 
LEVEL_3