public class FaceFeature
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
FEATURE_SIZE
人脸特征数据的长度
|
构造器和说明 |
---|
FaceFeature()
创建一个人脸特征对象
|
FaceFeature(byte[] data)
根据传入的人脸特征数据创建一个人脸特征对象
|
FaceFeature(FaceFeature obj)
根据传入的人脸特征对象创建一个新的人脸特征对象,新创建的对象为传入对象的深拷贝
|
限定符和类型 | 方法和说明 |
---|---|
FaceFeature |
clone()
返回当前人脸特征对象的深拷贝
|
byte[] |
getFeatureData()
获取人脸特征数据
|
void |
setFeatureData(byte[] data)
设置人脸特征数据
|
public static final int FEATURE_SIZE
public FaceFeature(FaceFeature obj)
obj
- 人脸特征数据对象public FaceFeature()
public FaceFeature(byte[] data)
data
- 人脸特征数据public byte[] getFeatureData()
public void setFeatureData(byte[] data)
data
- 人脸特征数据public FaceFeature clone()
clone
在类中 java.lang.Object