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

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

Advertisement

6.8.12. onPreviewFrame
Function
Use the standard Android API.
Describe processing content when acquiring image data.
Format
void onPreviewFrame (
byte[] data
Camera camera
);
Parameter
Model name
byte[] data
Camera
camera
Return value
None.
Usage procedure
// App developer applies processing when acquiring image data
private Camera.PreviewCallback mPreviewCB = new
Camera.PreviewCallback() {
@Override
public void onPreviewFrame(byte data[], Camera camera) {
}
};
//Register the callback method at the optimal time
camera.setPreviewCallback(mPreviewCB);
MOVERIO Pro Developer's Guide (Rev.1.4)
in/out Explanation
in
Image data acquired from a camera. The default is
NV21 format.
in
Camera service object.
Log.d(TAG, "Save preview image");
synchronized (lockObject) {
savePreviewData(data);
}
89

Advertisement

Table of Contents
loading

This manual is also suitable for:

Moverio pro bt-2200

Table of Contents