美摄SDK For iOS  3.7.2
NvsFaceEffect2Init.h
浏览该文件的文档.
1 //================================================================================
2 //
3 // (c) Copyright China Digital Video (Beijing) Limited, 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: NewAuto 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 {
53 } SubModelType;
54 
55 NVS_EXPORT @interface NvsFaceEffect2Init : NSObject
56 
57 
66 +(bool) authentification:(NSString*) licFile;
67 
68 +(bool) setupModeData:(NSString*) modeFile;
69 
70 +(bool) setupModeData:(NSString*) modeFile withMode:(int) flags;
71 
72 +(bool) setupSubModelData:(NSString*) modeFile withModel:(int) modelType;
73 
74 +(bool) removeSubModelData:(int) modelType;
75 
76 +(void) setMaxFaces:(int) maxFaceCount;
77 
78 +(void) setMaxCatFaces:(int) maxFaceCount;
79 
80 +(void) finish;
81 
82 @end
Sub_Model_TYPE_Face_Attribute
@ Sub_Model_TYPE_Face_Attribute
人脸属性模型数据
Definition: NvsFaceEffect2Init.h:44
DetectionFlag_SupportHandDetect
@ DetectionFlag_SupportHandDetect
检测手势
Definition: NvsFaceEffect2Init.h:27
Sub_Model_TYPE_Avatar_Core
@ Sub_Model_TYPE_Avatar_Core
AVATAR模型数据
Definition: NvsFaceEffect2Init.h:47
Sub_Model_TYPE_Extra_Face_Points
@ Sub_Model_TYPE_Extra_Face_Points
人脸扩展点模型数据
Definition: NvsFaceEffect2Init.h:43
Sub_Model_TYPE_Hand
@ Sub_Model_TYPE_Hand
手模型数据
Definition: NvsFaceEffect2Init.h:45
DetectionFlag_SupportFaceDetect
@ DetectionFlag_SupportFaceDetect
检测人脸
Definition: NvsFaceEffect2Init.h:26
Sub_Model_TYPE_Body_Fourteen
@ Sub_Model_TYPE_Body_Fourteen
身体14点模型数据
Definition: NvsFaceEffect2Init.h:46
DetectionFlag_SupportSegmentDetect
@ DetectionFlag_SupportSegmentDetect
检测背景分割
Definition: NvsFaceEffect2Init.h:28
DetectionFlag_SupportFaceExtraDetect
@ DetectionFlag_SupportFaceExtraDetect
检测人脸扩展点
Definition: NvsFaceEffect2Init.h:29
SubModelType
SubModelType
子模型数据类型
Definition: NvsFaceEffect2Init.h:42
+[NvsFaceEffect2Init finish]
void finish()
NvsFaceEffect2Init
Definition: NvsFaceEffect2Init.h:56
DetectionFlag_SupportHandActionDetect
@ DetectionFlag_SupportHandActionDetect
启动检测手部动作
Definition: NvsFaceEffect2Init.h:33
SubModelType_AVATAR_HELP
@ SubModelType_AVATAR_HELP
AVATAR模型辅助信息数据
Definition: NvsFaceEffect2Init.h:51
DetectionFlag
DetectionFlag
人体行为检测配置选项
Definition: NvsFaceEffect2Init.h:25
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
Sub_Model_TYPE_Cat_Face
@ Sub_Model_TYPE_Cat_Face
猫脸模型数据
Definition: NvsFaceEffect2Init.h:50
DetectionFlag_SupportEyeballContourDetect
@ DetectionFlag_SupportEyeballContourDetect
检测眼球四周
Definition: NvsFaceEffect2Init.h:31
NvsCommonDef.h
Sub_Model_TYPE_EyeBall_Contour
@ Sub_Model_TYPE_EyeBall_Contour
眼角点模型数据
Definition: NvsFaceEffect2Init.h:48
DetectionFlag_SupportFaceActionDetect
@ DetectionFlag_SupportFaceActionDetect
启动检测人脸动作
Definition: NvsFaceEffect2Init.h:32
Sub_Model_Type_Segment_Detected
@ Sub_Model_Type_Segment_Detected
背景分割模型数据
Definition: NvsFaceEffect2Init.h:52
Sub_Model_TYPE_EyeBall_Center
@ Sub_Model_TYPE_EyeBall_Center
眼球中心点模型数据
Definition: NvsFaceEffect2Init.h:49
DetectionFlag_SupportEyeballCenterDetect
@ DetectionFlag_SupportEyeballCenterDetect
检测眼球中心
Definition: NvsFaceEffect2Init.h:30