Skip to content

Commit c4ca415

Browse files
committed
clean up
1 parent bb1078e commit c4ca415

File tree

1 file changed

+0
-5
lines changed
  • visionSamples/FaceTracker/app/src/main/java/com/google/android/gms/samples/vision/face/facetracker

1 file changed

+0
-5
lines changed

visionSamples/FaceTracker/app/src/main/java/com/google/android/gms/samples/vision/face/facetracker/CustomDetector.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,25 +93,20 @@ public SparseArray<Face> detect(Frame frame) {
9393
switch (frame.getMetadata().getRotation())
9494
{
9595
case 1:
96-
Log.i(TAG, "orientation 1");
97-
Log.i(TAG, String.format("frame height %d", fHeight));
9896
rot.postRotate(90);
9997
cropped = Bitmap.createBitmap(tmpBitmap, y, fHeight - (x + w), h, w,
10098
rot,false );
10199
break;
102100
case 2:
103-
Log.i(TAG, "orientation 2");
104101
rot.postRotate(180);
105102
cropped = Bitmap.createBitmap(tmpBitmap, fWidth - (x + w),
106103
fHeight - (y + h), w, h, rot, false);
107104
break;
108105
case 3:
109-
Log.i(TAG, "orientation 3");
110106
rot.postRotate(270);
111107
cropped = Bitmap.createBitmap(tmpBitmap, fWidth - (y + h), x, h, w, rot, false);
112108
break;
113109
default:
114-
Log.i(TAG, "orientation 0");
115110
cropped = Bitmap.createBitmap(tmpBitmap, x, y, w, h);
116111
break;
117112
}

0 commit comments

Comments
 (0)