美摄SDK For iOS  3.7.2
NvsFaceFeaturePoint.h
浏览该文件的文档.
1 //================================================================================
2 //
3 // (c) Copyright China Digital Video (Beijing) Limited, 2016. 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: Sep 7. 2019
11 // Author: NewAuto video team
12 //================================================================================
13 
14 #pragma once
15 
16 #import <Foundation/Foundation.h>
17 #import "NvsEffectCommonDef.h"
18 #import "NvsArbitraryData.h"
19 
26 NVS_EXPORT @interface NvsFaceInfo : NSObject
27 
28 @property (nonatomic, assign) int faceId;
29 @property (nonatomic, strong) NSMutableArray *pointsArray;
30 @property (nonatomic, strong) NSMutableArray *visibilityArray;
31 
32 @end
33 
41 
42 @property (nonatomic, strong) NSMutableArray *faces;
43 @property (nonatomic, assign) int faceCount;
44 
45 - (instancetype)initWithCapacity:(int)capacity;
46 
47 @end
NvsFaceFeaturePoint
二维特征点结构。
Definition: NvsFaceFeaturePoint.h:41
NvsFaceInfo::faceId
int faceId
人脸ID
Definition: NvsFaceFeaturePoint.h:28
NvsArbitraryData.h
NvsFaceInfo::visibilityArray
NSMutableArray * visibilityArray
对应点是否被遮挡, 未被遮挡1.0, 遮挡值是0.0
Definition: NvsFaceFeaturePoint.h:30
NvsFaceInfo
人脸信息,供106点使用。
Definition: NvsFaceFeaturePoint.h:27
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
NvsFaceInfo::pointsArray
NSMutableArray * pointsArray
人脸106关键点的数组
Definition: NvsFaceFeaturePoint.h:29
NvsEffectCommonDef.h
NvsArbitraryData
特技的一种自定义参数结构
Definition: NvsArbitraryData.h:29