MeiCam SDK For iOS  3.16.4
NvsFaceEffect2Init.h
Go to the documentation of this file.
1 //================================================================================
2 //
3 // (c) Copyright Meishe Co. Ltd, 2017. All rights reserved.
4 //
5 // This code and information is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the implied
7 // warranties of merchantability and/or fitness for a particular purpose.
8 //
9 //--------------------------------------------------------------------------------
10 // Birth Date: Aug 2. 2017
11 // Author: Meishe video team
12 //================================================================================
13 #pragma once
14 
15 #import <Foundation/Foundation.h>
16 #import "NvsCommonDef.h"
17 
18 
25 typedef enum {
35 
42 typedef enum {
45 } DetectMode;
46 
53 typedef enum {
64 } SubModelType;
65 
66 NVS_EXPORT @interface NvsFaceEffect2Init : NSObject
67 
68 
77 +(bool) authentification:(NSString*) licFile;
78 
79 +(bool) setupModeData:(NSString*) modeFile;
80 
81 +(bool) setupModeData:(NSString*) modeFile withMode:(int) flags;
82 
83 +(bool) setupModeData:(NSString*) modeFile withMode:(int) flags withDetectionMode:(int) detectionMode;
84 
85 +(bool) setupSubModelData:(NSString*) modeFile withModel:(int) modelType;
86 
87 +(bool) removeSubModelData:(int) modelType;
88 
89 +(void) setMaxFaces:(int) maxFaceCount;
90 
91 +(void) setMaxCatFaces:(int) maxFaceCount;
92 
93 +(void) finish;
94 
95 @end
Sub_Model_TYPE_Face_Attribute
@ Sub_Model_TYPE_Face_Attribute
Face attribute model data.
Definition: NvsFaceEffect2Init.h:55
DetectionFlag_SupportHandDetect
@ DetectionFlag_SupportHandDetect
Detection gesture.
Definition: NvsFaceEffect2Init.h:27
Sub_Model_TYPE_Avatar_Core
@ Sub_Model_TYPE_Avatar_Core
AVATAR model data.
Definition: NvsFaceEffect2Init.h:58
Sub_Model_TYPE_Extra_Face_Points
@ Sub_Model_TYPE_Extra_Face_Points
Face extension point model data.
Definition: NvsFaceEffect2Init.h:54
Sub_Model_TYPE_Hand
@ Sub_Model_TYPE_Hand
Hand model data.
Definition: NvsFaceEffect2Init.h:56
DetectionFlag_SupportFaceDetect
@ DetectionFlag_SupportFaceDetect
Detection faces.
Definition: NvsFaceEffect2Init.h:26
DetectMode
DetectMode
Human behavior detection mode.
Definition: NvsFaceEffect2Init.h:42
Sub_Model_TYPE_Body_Fourteen
@ Sub_Model_TYPE_Body_Fourteen
Body 14 point model data.
Definition: NvsFaceEffect2Init.h:57
DetectionFlag_SupportSegmentDetect
@ DetectionFlag_SupportSegmentDetect
Detection background segmentation.
Definition: NvsFaceEffect2Init.h:28
DetectionFlag_SupportFaceExtraDetect
@ DetectionFlag_SupportFaceExtraDetect
Detectes face extra.
Definition: NvsFaceEffect2Init.h:29
SubModelType
SubModelType
Type of submodel data.
Definition: NvsFaceEffect2Init.h:53
+[NvsFaceEffect2Init finish]
void finish()
NvsFaceEffect2Init
Definition: NvsFaceEffect2Init.h:67
DetectionFlag_SupportHandActionDetect
@ DetectionFlag_SupportHandActionDetect
Detectes hand action.
Definition: NvsFaceEffect2Init.h:33
SubModelType_AVATAR_HELP
@ SubModelType_AVATAR_HELP
AVATAR help model data.
Definition: NvsFaceEffect2Init.h:62
DetectionFlag
DetectionFlag
Human behavior detection configuration options.
Definition: NvsFaceEffect2Init.h:25
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
Sub_Model_TYPE_Cat_Face
@ Sub_Model_TYPE_Cat_Face
Cat face model data.
Definition: NvsFaceEffect2Init.h:61
DetectionFlag_SupportEyeballContourDetect
@ DetectionFlag_SupportEyeballContourDetect
Detectes eyeball contour.
Definition: NvsFaceEffect2Init.h:31
NvsCommonDef.h
Sub_Model_TYPE_EyeBall_Contour
@ Sub_Model_TYPE_EyeBall_Contour
Eye corner model data.
Definition: NvsFaceEffect2Init.h:59
DetectionFlag_SupportFaceActionDetect
@ DetectionFlag_SupportFaceActionDetect
Detectes face action.
Definition: NvsFaceEffect2Init.h:32
Sub_Model_Type_Segment_Detected
@ Sub_Model_Type_Segment_Detected
segment model data
Definition: NvsFaceEffect2Init.h:63
Sub_Model_TYPE_EyeBall_Center
@ Sub_Model_TYPE_EyeBall_Center
Eye center point model data.
Definition: NvsFaceEffect2Init.h:60
DetectMode_Image
@ DetectMode_Image
Image detection mode.
Definition: NvsFaceEffect2Init.h:44
DetectionFlag_SupportEyeballCenterDetect
@ DetectionFlag_SupportEyeballCenterDetect
Detectes eyeball center.
Definition: NvsFaceEffect2Init.h:30
DetectMode_Preview
@ DetectMode_Preview
Preview detection mode.
Definition: NvsFaceEffect2Init.h:43