AI recognition parameter types, read-only, used with createContext API.
VN_None //AI calculation not enabled; advanced effects, stickers, gesture recognition, and background segmentation unavailable
VN_Face //Enable advanced effects and stickers
VN_Gesture //Enable gesture recognition and gesture emoticons
VN_BodySegment //Enable background segmentation
VN_All //Enable all AI functions
Structure object of the OpenGL texture parameter, readable and writable, used with updateFrameParams API.
int mTextureId; //OpenGL texture id
int mWidth; //OpenGL texture width.
int mHeight; //OpenGL texture height.
int format; //OpenGL texture format, e.g. GL_RGBA.
int target; //OpenGL texture target, e.g. GL_TEXTURE_2D.
Parameter structure for image recognition; images passed through this structure are used for face and action recognition, readable and writable, used with updateFrameParams API.
int deviceType; //Image type; 0 (default) is for camera image. If you input custom image data, set deviceType = 1; if you use the PixelBuffer object as the image input, set deviceType = 2, and data should pass in the pointer of the PixelBuffer object itself.
int facePointDir; //When deviceType == 1, the variable may freely set the direction of rendering effects. Otherwise, rendering will use the default direction. The default direction is set based on the camera information.
unsigned char* data; //User given identification data, usually pixel data (if iOS uses the PixelBuffer object, pass in the pointer of the PixelBuffer object itself and set deviceType = 2).
float timestamp; //Time stamp (in seconds) for face recognition calculations. If not set, it uses the default value.
int dir; //Image direction, usually the gyroscope direction
int width; //Image width
int height; //Image height
int format; //Image format
bool frontCamera; //Whether the front camera is enabled
Effect parameter structure, used to check parameters, read-only, used with getEffectParamDetail API.
int curVal; //Current value
int maxVal; //Maximum value
int minVal; //Minimum value
int defVal; //Default value
Effect type, read-only, used with enableEffect and releaseEffect APIs.
ET_BasicBeauty, //Basic beautification
ET_BasicBeautyType, //Basic face shaping
ET_SeniorBeautyType, //Advanced face shaping
ET_FilterHoliday, //Holiday filter
ET_FilterClear, //Clear filter
ET_FilterWarm, //Warm filter
ET_FilterFresh, //Fresh filter
ET_FilterTender, //Soft filter
Effect parameter type, read-only, used for the getEffectParam, getEffectParamDetail, and setEffectParam APIs.
EP_BasicBeautyIntensity, //Basic beautification 0 - 100
EP_BasicBeautyOpacity, //Intensity of basic smoothing 0 - 100
EP_FilterHolidayIntensity, //Intensity of holiday filter 0 - 100
EP_FilterClearIntensity, //Intensity of clear filter 0 - 100
EP_FilterWarmIntensity, //Intensity of warm filter 0 - 100
EP_FilterFreshIntensity, //Intensity of fresh filter 0 - 100
EP_FilterTenderIntensity, //Intensity of soft filter 0 - 100
EP_BasicTypeIntensity, //Intensity of basic face shaping 0 - 100
EP_SeniorTypeThinFaceIntensity, //Advanced face thinning 0 - 100
EP_SeniorTypeSmallFaceIntensity, //Advanced face shrinking 0 - 100
EP_SeniorTypeSquashedFaceIntensity, //Advanced cheekbone thinning 0 - 100
EP_SeniorTypeForeheadLiftingIntensity, //Advanced forehead height adjustment -50 - 50
EP_SeniorTypeWideForeheadIntensity, //Advanced forehead width adjustment -50 - 50
EP_SeniorTypeBigSmallEyeIntensity, //Advanced eye enlarging -50 - 50
EP_SeniorTypeEyesOffsetIntensity, //Advanced eye distance adjustment -50 - 50
EP_SeniorTypeEyesRotationIntensity, //Advanced eye rotation -50 - 50
EP_SeniorTypeThinNoseIntensity, //Advanced nose thinning -50 - 50
EP_SeniorTypeLongNoseIntensity, //Advanced nose lengthening -50 - 50
EP_SeniorTypeThinNoseBridgeIntensity, //Advanced bridge narrowing -50 - 50
EP_SeniorTypeThinmouthIntensity, //Advanced mouth shrinking -50 - 50
EP_SeniorTypeMovemouthIntensity, //Advanced mouth positioning -50 - 50
EP_SeniorTypeChinLiftingIntensity, //Advanced chin adjustment -50 - 50
Log level.
LG_Info //Normal message
LG_Warn //Warning
LG_Error //Error message
LG_Debug //SDK debugging message
LG_Verbose //All messages