Epson Moverio Pro BT-2000 Developer's Manual page 79

Hide thumbs Also See for Moverio Pro BT-2000:
Table of Contents

Advertisement

By using the API provided by the BT-2000, you can display a preview and handle image data.
In either situation, you need to set the camera parameters. You can change the camera mode,
frame rate, preview resolution, and camera resolution. However, when setting the camera
parameters, you need to stop the previews temporarily by using stopPreview. Also, make sure
you use pre-established parameter combinations.
Note that values larger than 1080p set for the preview will not be displayed.
When handling image data, you need to register the image data acquisition callback method.
Figure 6-5 shows an example of the flow for the API used in this guide.
After starting the camera, the camera mode is set and the preview starts. During a preview, you
can register the image acquisition callback method as necessary, and acquire images. Execute
processing for the acquired images in the app.
* Because the API in this guide does not comply with the android.hardware.Camera
specifications and thread safe are not available, do not handle multiple threads at the same
time.
(1) Set Mode
Camera.Parameters.
setEpsonCameraMode
Camera.setParameters
MOVERIO Pro Developer's Guide (Rev.1.4)
Camera.open
Camera.getParameters
Camera.PreviewCallback.
onPreviewFrame
(2) Receive the images
Figure 6
5 Example of API usage flow
-
73
Camera.
setPreviewCallback
Register callback method
Camera.stopPreview
If the callback is registered...
Camera.startPreview

Advertisement

Table of Contents
loading

This manual is also suitable for:

Moverio pro bt-2200

Table of Contents