Skip to content

Commit 95bf942

Browse files
Vladimir KocheryzhkinVladimir Kocheryzhkin
authored andcommitted
demo prepare #2
1 parent 89d9677 commit 95bf942

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

visionSamples/FaceTracker/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ android {
55
config {
66
keyAlias 'test'
77
keyPassword 'test123321'
8-
storeFile file('E:/Work/android-vision/signing/test.jks')
8+
storeFile file('C:/Work/android-vision/signing/test.jks')
99
storePassword 'test123321'
1010
}
1111
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class FaceGraphic extends GraphicOverlay.Graphic implements RecognitionInterface
4343
private static final String TAG = "FaceGraphic";
4444

4545
private static final float FACE_POSITION_RADIUS = 10.0f;
46-
private static final float ID_TEXT_SIZE = 40.0f;
46+
private static final float ID_TEXT_SIZE = 80.0f;
4747
private static final float ID_Y_OFFSET = 50.0f;
4848
private static final float ID_X_OFFSET = -50.0f;
4949
private static final float BOX_STROKE_WIDTH = 5.0f;
@@ -145,7 +145,7 @@ public void draw(Canvas canvas) {
145145
//canvas.drawCircle(x, y, FACE_POSITION_RADIUS, mFacePositionPaint);
146146
//canvas.drawText("id: " + mFaceId, x + ID_X_OFFSET, y + ID_Y_OFFSET, mIdPaint);
147147
if(mIdentity != ""){
148-
canvas.drawText("identity: " + mIdentity, x - ID_X_OFFSET, y - ID_Y_OFFSET, mIdPaint);
148+
canvas.drawText(":) " + mIdentity, x - ID_X_OFFSET, y - ID_Y_OFFSET, mIdPaint);
149149
}
150150

151151
// Draws a bounding box around the face.

0 commit comments

Comments
 (0)