|
|
@@ -101,11 +101,6 @@ public class FaceCompareUtil {
|
|
|
* @return
|
|
|
*/
|
|
|
public boolean imageCenter(File base) {
|
|
|
- errorCode = faceEngine.init(engineConfiguration);
|
|
|
- if (errorCode != ErrorInfo.MOK.getValue()) {
|
|
|
- base.delete();
|
|
|
- throw new RuntimeException("初始化引擎失败");
|
|
|
- }
|
|
|
//人脸检测
|
|
|
ImageInfo imageInfo = getRGBData(base);
|
|
|
List<FaceInfo> faceInfoList = new ArrayList<FaceInfo>();
|