OpenCV 2.4.8

org.opencv.android
Class NativeCameraView

java.lang.Object
  extended by SurfaceView
      extended by org.opencv.android.CameraBridgeViewBase
          extended by org.opencv.android.NativeCameraView

public class NativeCameraView
extends CameraBridgeViewBase

This class is an implementation of a bridge between SurfaceView and native OpenCV camera. Due to the big amount of work done, by the base class this child is only responsible for creating camera, destroying camera and delivering frames while camera is enabled


Nested Class Summary
static class NativeCameraView.OpenCvSizeAccessor
           
 
Nested classes/interfaces inherited from class org.opencv.android.CameraBridgeViewBase
CameraBridgeViewBase.CvCameraViewFrame, CameraBridgeViewBase.CvCameraViewListener, CameraBridgeViewBase.CvCameraViewListener2, CameraBridgeViewBase.ListItemAccessor
 
Field Summary
static java.lang.String TAG
           
 
Fields inherited from class org.opencv.android.CameraBridgeViewBase
CAMERA_ID_ANY, CAMERA_ID_BACK, CAMERA_ID_FRONT
 
Constructor Summary
NativeCameraView(Context context, AttributeSet attrs)
           
NativeCameraView(Context context, int cameraId)
           
 
Method Summary
 
Methods inherited from class org.opencv.android.CameraBridgeViewBase
disableFpsMeter, disableView, enableFpsMeter, enableView, setCameraIndex, SetCaptureFormat, setCvCameraViewListener, setCvCameraViewListener, setMaxFrameSize, surfaceChanged, surfaceCreated, surfaceDestroyed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG

public static final java.lang.String TAG
See Also:
Constant Field Values
Constructor Detail

NativeCameraView

public NativeCameraView(Context context,
                        AttributeSet attrs)

NativeCameraView

public NativeCameraView(Context context,
                        int cameraId)

OpenCV 2.4.8 Documentation