人脸数据重置后加刷新逻辑;人脸识别距离调整;

This commit is contained in:
mazengfei
2026-04-03 10:40:57 +08:00
parent b16147b1b2
commit dbe3753821
2 changed files with 3 additions and 1 deletions
@@ -345,7 +345,7 @@ public class FaceHelper implements FaceListener {
FaceInfo currentFaceInfo = faceInfoList.get(0);
// L.e("currentFaceInfo width=" + currentFaceInfo.getRect().width() +
// "---height" + currentFaceInfo.getRect().height());
if (currentFaceInfo.getRect().width() < 200) {//距离远(人脸小),不识别
if (currentFaceInfo.getRect().width() < 260) {//距离远(人脸小),不识别
clearLeftFace(facePreviewInfoList);
return facePreviewInfoList;
}