|
@@ -149,10 +149,10 @@ public class FaceVerifyTest {
|
|
|
} else {
|
|
|
FaceResult result = faceVerifyService.faceCompareByBaidu(new ImageFileParm(photoPath), new ImageFileParm(capturePhotoPath));
|
|
|
// System.out.println(new JsonHelper().toJson(result));
|
|
|
- if (result.isPass()) {
|
|
|
+ if (result.isFacePass()) {
|
|
|
passNum.incrementAndGet();
|
|
|
}
|
|
|
- String x = result.isPass() + "|" + result.getScore();
|
|
|
+ String x = result.isFacePass() + "|" + result.getFaceScore();
|
|
|
FileUtil.saveToFile(x.getBytes(StandardCharsets.UTF_8), resultFile);
|
|
|
}
|
|
|
} catch (Exception e) {
|