Example usage for android.graphics Camera.PreviewCallback interface-usage

List of usage examples for android.graphics Camera.PreviewCallback interface-usage

Introduction

In this page you can find the example usage for android.graphics Camera.PreviewCallback interface-usage.

Usage

From source file org.artoolkit.ar.samples.ARNative.CameraSurface.java

public class CameraSurface extends SurfaceView implements SurfaceHolder.Callback, Camera.PreviewCallback {

    private static final String TAG = "CameraSurface";
    private Camera camera;

    private boolean mustAskPermissionFirst = false;

From source file org.artoolkit.ar.samples.nftSimple.CameraSurface.java

public class CameraSurface extends SurfaceView implements SurfaceHolder.Callback, Camera.PreviewCallback {

    private static final String TAG = "CameraSurface";
    private Camera camera;

    private boolean mustAskPermissionFirst = false;

From source file com.nekomeshi312.whiteboardcorrection.CameraViewFragment.java

public class CameraViewFragment extends SherlockFragment
        implements SurfaceHolder.Callback, Camera.PreviewCallback, CameraSurfaceView.CameraPreview {

    public interface LineDetectCallback {
        public void onLineDetected(ArrayList<Point> points);

From source file com.longle1.facedetection.MainActivity.java

class FaceDetect extends View implements Camera.PreviewCallback {
    public static final int SUBSAMPLING_FACTOR = 4;
    public static final int VIDEO_FPS = 10;

    private IplImage grayImage;
    private CvHaarClassifierCascade classifier;