Searched refs:face (Results 1 – 3 of 3) sorted by relevance
54 Face face = detectedFaces.get(0); in testFaceProperties() local56 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()
82 for (Face face : detectedFaces) { in onDraw()84 face.getMidPoint(eyesMP); in onDraw()87 float eyesDistance = face.eyesDistance() * scale; in onDraw()
2710 for (Face face: faces) {2711 if (face != null) firstFace = face;2754 Face face = faces[i];2755 Rect rect = face.rect;2764 assertTrue(face.score >= 1 && face.score <= 100);2769 assertEquals(-1, face.id);2770 assertNull(face.leftEye);2771 assertNull(face.rightEye);2772 assertNull(face.mouth);2774 assertTrue(face.id != -1);[all …]