Home | History | Annotate | Download | only in hardware

Lines Matching defs:Face

218      * Hardware face detection. It does not use much CPU.
223 * Software face detection. It uses some CPU.
1141 mFaceListener.onFaceDetection((Face[])msg.obj, mCamera);
1620 * Callback interface for face detected in the preview frame.
1634 void onFaceDetection(Face[] faces, Camera camera);
1650 * Starts the face detection. This should be called after preview is started.
1654 * stop the face detection. This method is supported if {@link
1656 * If the face detection has started, apps should not call this again.
1658 * <p>When the face detection is running, {@link Parameters#setWhiteBalance(String)},
1664 * will stop sending face callbacks. The last face callback indicates the
1665 * areas used to do autofocus. After focus completes, face detection will
1666 * resume sending face callbacks. If the apps call {@link
1667 * #cancelAutoFocus()}, the face callbacks will also resume.</p>
1672 * again to resume face detection.</p>
1674 * @throws IllegalArgumentException if the face detection is unsupported.
1675 * @throws RuntimeException if the method fails or the face detection is
1683 throw new RuntimeException("Face detection is already running");
1690 * Stops the face detection.
1703 * Information about a face identified through camera face detection.
1705 * <p>When face detection is used with a camera, the {@link FaceDetectionListener} returns a
1706 * list of face objects for use in focusing and metering.</p>
1713 public static class Face {
1715 * Create an empty face.
1717 public Face() {
1721 * Bounds of the face. (-1000, -1000) represents the top-left of the
1732 * mirroring of {@link #setDisplayOrientation(int)}. The face bounding
1733 * rectangle does not provide any information about face orientation.</p>
1756 * <p>The confidence level for the detection of the face. The range is 1 to
1770 * An unique id per face while the face is visible to the tracker. If
1771 * the face leaves the field-of-view and comes back, it will get a new
3939 face detection of the specified type is not
3942 * @return the maximum number of detected face supported by the camera.