camera2 output to Bitmap
问题 I'm trying to use Google Mobile Vision API with the camera2 module and I'm having a lot of trouble. I'm using Google's android-Camera2Video example code as a base. I've modified it to include the following callback: Camera2VideoFragment.java OnCameraImageAvailable mCameraImageCallback; public interface OnCameraImageAvailable { void onCameraImageAvailable(Image image); } ImageReader.OnImageAvailableListener mImageAvailable = new ImageReader.OnImageAvailableListener() { @Override public void