public class AndroidCameraModule extends ACameraModule
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CAMERA |
static java.lang.String |
CAMERA_INFO |
static java.lang.String |
IMAGE_COMPRESSED |
static java.lang.String |
JPEG |
| Constructor and Description |
|---|
AndroidCameraModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeCamera()
Changes between front and back camera
|
java.lang.String |
getModuleInfo() |
java.lang.String |
getModuleVersion() |
void |
passOCVthings(org.opencv.android.CameraBridgeViewBase bridgebase)
Pass the camerabridge for capturing images with opencv
|
void |
passSurfaceView(android.view.SurfaceView view)
Pass a surface view to draw the images into
|
void |
shutdown() |
void |
signalInit()
Starts the image capture
|
void |
startup(com.mytechia.robobo.framework.RoboboManager manager) |
notifyFrame, notifyMat, suscribe, unsuscribepublic static final java.lang.String CAMERA
public static final java.lang.String IMAGE_COMPRESSED
public static final java.lang.String CAMERA_INFO
public static final java.lang.String JPEG
public void startup(com.mytechia.robobo.framework.RoboboManager manager)
throws com.mytechia.commons.framework.exception.InternalErrorException
com.mytechia.commons.framework.exception.InternalErrorExceptionpublic void shutdown()
throws com.mytechia.commons.framework.exception.InternalErrorException
com.mytechia.commons.framework.exception.InternalErrorExceptionpublic java.lang.String getModuleInfo()
public java.lang.String getModuleVersion()
public void signalInit()
ICameraModulepublic void passSurfaceView(android.view.SurfaceView view)
ICameraModuleview - The surfaceviewpublic void passOCVthings(org.opencv.android.CameraBridgeViewBase bridgebase)
ICameraModulebridgebase - the OpenCV CameraBridgeBasepublic void changeCamera()
ICameraModule