调整了餐盘在不同设备提示

This commit is contained in:
zxj
2025-07-24 08:40:36 +08:00
parent 7fd2ccb960
commit 082011a939
17 changed files with 198 additions and 35 deletions
@@ -77,7 +77,7 @@ public class FaceRectTransformer {
rect.bottom *= verticalRatio;
Rect newRect = new Rect();
L.e("cameraDisplayOrientation" + cameraDisplayOrientation + "===" + cameraId);
L.e("cameraDisplayOrientation " + cameraDisplayOrientation + " === " + cameraId);
switch (cameraDisplayOrientation) {
case 0:
if (cameraId == Camera.CameraInfo.CAMERA_FACING_FRONT) {
@@ -610,6 +610,7 @@ public class FaceHelper implements FaceListener {
@Override
public void onError(Throwable e) {
Log.e(TAG, "retryRecognizeDelayed e = " + e);
e.printStackTrace();
}
@@ -584,7 +584,7 @@ public class FaceServer {
}
}
} catch (IllegalArgumentException exception) {
Log.i(TAG, "exception:" + exception.getMessage());
Log.i(TAG, "searchFaceFeature exception:" + exception.getMessage());
}
return null;
}