Fix bug
diff --git a/FaceShared/src/main/java/com/libremobileos/yifan/face/FaceScanner.java b/FaceShared/src/main/java/com/libremobileos/yifan/face/FaceScanner.java
index 66e31f7..f471ce4 100644
--- a/FaceShared/src/main/java/com/libremobileos/yifan/face/FaceScanner.java
+++ b/FaceShared/src/main/java/com/libremobileos/yifan/face/FaceScanner.java
@@ -157,7 +157,7 @@
* @see #process(Bitmap, int)
*/
public InputImage process(Bitmap input) {
- return process(input, 0);
+ return process(input, sensorOrientation);
}
/**
@@ -175,7 +175,7 @@
(int) faceBB.left,
(int) faceBB.top,
(int) faceBB.width(),
- (int) faceBB.height()));
+ (int) faceBB.height()), 0);
}
}