Code example for Camera

Methods: startFaceDetection

0
	        mCamera.setFaceDetectionListener(listener);
	    }  
	} 
 
	public void startFaceDetection() { 
		mCamera.startFaceDetection();
	} 
	 
	@TargetApi(14) 
	public void stopFaceDetection() { 
		mCamera.stopFaceDetection();
	} 
	 
	public interface FaceDetectionListener { 
		/** 
		 * Notify the listener of the detected faces in the preview frame. 
		 *  
		 * @param faces 
		 *            The detected faces in a list 
		 * @param camera 
		 *            The {@link BaseCameraSimple} service object