OpenCV 2.4.6

org.opencv.android
Interface CameraBridgeViewBase.CvCameraViewListener

Enclosing class:
CameraBridgeViewBase

public static interface CameraBridgeViewBase.CvCameraViewListener


Method Summary
 Mat onCameraFrame(Mat inputFrame)
          This method is invoked when delivery of the frame needs to be done.
 void onCameraViewStarted(int width, int height)
          This method is invoked when camera preview has started.
 void onCameraViewStopped()
          This method is invoked when camera preview has been stopped for some reason.
 

Method Detail

onCameraFrame

Mat onCameraFrame(Mat inputFrame)
This method is invoked when delivery of the frame needs to be done. The returned values - is a modified frame which needs to be displayed on the screen. TODO: pass the parameters specifying the format of the frame (BPP, YUV or RGB and etc)


onCameraViewStarted

void onCameraViewStarted(int width,
                         int height)
This method is invoked when camera preview has started. After this method is invoked the frames will start to be delivered to client via the onCameraFrame() callback.

Parameters:
width - - the width of the frames that will be delivered
height - - the height of the frames that will be delivered

onCameraViewStopped

void onCameraViewStopped()
This method is invoked when camera preview has been stopped for some reason. No frames will be delivered via onCameraFrame() callback after this method is called.


OpenCV 2.4.6 Documentation