Skip to content

Commit ee9f619

Browse files
committed
fix face_coordinates test in android
1 parent 985523b commit ee9f619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudinary-android-test/src/main/java/com/cloudinary/test/UploaderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ public void testFaceCoordinates() throws Exception {
234234
if (cloudinary.config.apiSecret == null)
235235
return;
236236
Coordinates coordinates = new Coordinates();
237-
Rectangle rect1 = new Rectangle(121, 31, 231, 182);
238-
Rectangle rect2 = new Rectangle(120, 30, 229, 270);
237+
Rectangle rect1 = new Rectangle(121, 31, 110, 51);
238+
Rectangle rect2 = new Rectangle(120, 30, 109, 51);
239239
coordinates.addRect(rect1);
240240
coordinates.addRect(rect2);
241241
JSONObject result = new JSONObject(cloudinary.uploader().upload(getAssetStream(TEST_IMAGE), ObjectUtils.asMap("face_coordinates", coordinates, "faces", true)));

0 commit comments

Comments
 (0)