Merge pull request #904 from ograycode:2.4

pull/921/head^2
Roman Donchenko 12 years ago committed by OpenCV Buildbot
commit 324cafdda6
  1. 8
      modules/java/generator/src/java/android+CameraBridgeViewBase.java

@ -81,6 +81,14 @@ public abstract class CameraBridgeViewBase extends SurfaceView implements Surfac
styledAttrs.recycle(); styledAttrs.recycle();
} }
/**
* Sets the camera index
* @param camera index
*/
public void setCameraIndex(int cameraIndex) {
this.mCameraIndex = cameraIndex;
}
public interface CvCameraViewListener { public interface CvCameraViewListener {
/** /**
* This method is invoked when camera preview has started. After this method is invoked * This method is invoked when camera preview has started. After this method is invoked

Loading…
Cancel
Save