Searched refs:face (Results 1 – 8 of 8) sorted by relevance
/cts/apps/CameraITS/tests/scene2/ |
D | test_faces.py | 62 face_scores = [face['score'] for face in faces] 63 face_rectangles = [face['bounds'] for face in faces] 78 for face in faces: 79 assert('leftEye' not in face) 80 assert('rightEye' not in face) 81 assert('mouth' not in face) 82 assert(face['id'] == -1) 84 face_ids = [face['id'] for face in faces] 87 for face in faces: 88 left_eye = face['leftEye'] [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceDetector_FaceTest.java | 54 Face face = detectedFaces.get(0); in testFaceProperties() local 56 face.getMidPoint(eyesMP); in testFaceProperties() 59 assertTrue(face.confidence() >= goodConfidence); in testFaceProperties() 61 assertEquals(eyesDistance, face.eyesDistance(), tolerance); in testFaceProperties() 66 face.pose(FaceDetector.Face.EULER_X); in testFaceProperties() 67 face.pose(FaceDetector.Face.EULER_Y); in testFaceProperties() 68 face.pose(FaceDetector.Face.EULER_Z); in testFaceProperties() 72 face.pose(ErrorEuler); in testFaceProperties()
|
D | FaceView.java | 82 for (Face face : detectedFaces) { in onDraw() 84 face.getMidPoint(eyesMP); in onDraw() 87 float eyesDistance = face.eyesDistance() * scale; in onDraw()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 113 private static Object serializeFace(Face face) in serializeFace() argument 116 faceObj.put("bounds", serializeRect(face.getBounds())); in serializeFace() 117 faceObj.put("score", face.getScore()); in serializeFace() 118 faceObj.put("id", face.getId()); in serializeFace() 119 if (face.getLeftEyePosition() != null) { in serializeFace() 120 faceObj.put("leftEye", serializePoint(face.getLeftEyePosition())); in serializeFace() 122 if (face.getRightEyePosition() != null) { in serializeFace() 123 faceObj.put("rightEye", serializePoint(face.getRightEyePosition())); in serializeFace() 125 if (face.getMouthPosition() != null) { in serializeFace() 126 faceObj.put("mouth", serializePoint(face.getMouthPosition())); in serializeFace()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 1405 for (Face face : faces) { 1406 mCollector.expectNotNull("Face rectangle shouldn't be null", face.getBounds()); 1407 faceScores.add(face.getScore()); 1409 face.getId() == Face.ID_UNSUPPORTED); 1416 for (Face face : faces) { 1419 + "shouldn't be null", face.getBounds() != null); 1423 faceBound = face.getBounds(); 1425 faceScores.add(face.getScore()); 1426 faceIds.add(face.getId()); 1429 face.getId() != Face.ID_UNSUPPORTED); [all …]
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 289 private static Object serializeFace(Face face) in serializeFace() argument 292 faceObj.put("bounds", serializeRect(face.getBounds())); in serializeFace() 293 faceObj.put("score", face.getScore()); in serializeFace() 294 faceObj.put("id", face.getId()); in serializeFace() 295 faceObj.put("leftEye", serializePoint(face.getLeftEyePosition())); in serializeFace() 296 faceObj.put("rightEye", serializePoint(face.getRightEyePosition())); in serializeFace() 297 faceObj.put("mouth", serializePoint(face.getMouthPosition())); in serializeFace()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | CameraTest.java | 2923 for (Face face: faces) { 2924 if (face != null) firstFace = face; 2967 Face face = faces[i]; 2968 Rect rect = face.rect; 2977 assertTrue(face.score >= 1 && face.score <= 100); 2982 assertEquals(-1, face.id); 2983 assertNull(face.leftEye); 2984 assertNull(face.rightEye); 2985 assertNull(face.mouth); 2987 assertTrue(face.id != -1); [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | LaunchClip.java | 44 void setup(boolean makeIn, boolean makeOut, int x, int y, int z, boolean face, boolean lods, in setup() argument 50 mHasFaces = face; in setup()
|