Package | Description |
---|---|
net.gdface.sdk |
Modifier and Type | Method and Description |
---|---|
FaceApiSpringController.Response |
FaceApiSpringController.compare2Face(FaceApiSpringController.Compare2FaceArgs args)
对人脸图像提取特征码,返回比较相似度结果
imgData1和imgData2相等或imgData2为 null 时,即比较同一张图像中的两张人脸的相似度
调用该方法时假设图像(imgData1 和imgData2 )能正常解码,所以当对图像解码出现异常时,将 ImageErrorException 异常对象封装到RuntimeException 抛出任何参数为 null 则抛出IllegalArgumentException |
Copyright © 2020. All rights reserved.