Epson BT-2000 Developers Guide - Page 86
onDepthMap
View all Epson BT-2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 86 highlights
6.7.18. onDepthMap Function The process executed is written during depth information acquisition. Format void onDepthMap( byte[] data, Camera camera ) Parameter Model name in/out Explanation byte[] data in Depth information. VGA size, RAW 8 format, 300 K byte data. Camera in Camera service object camera Return value None. Usage procedure // App developer applies processing when acquiring depth information private Camera.DepthCallback mDepthCB = new Camera.DepthCallback() { @Override public void onDepthMap(byte data[], Camera camera) { Log.d(TAG, "Save depth map"); synchronized (lockObject) { saveDepthMap(data); } } }; //Register the callback method at the optimal time camera.setDepthCallback(mDepthCB); MOVERIO Pro Developer's Guide (Rev.1.0) 82