cameraview
cameraview copied to clipboard
[DEPRECATED] Easily integrate Camera features into your Android app
Can add Preview Data Callback?i think we need some callback to implement preview filter...😆
allows setting a callback that gets invoked on each preview frame. The callback receives an android.media.Image object, consistent with the Camera 2 API.
Hi! After last update: f0eef9ade1969f9dafef7138172468e409c3210c I get next bug (not olways, but offen): FATAL EXCEPTION: main Process: ua.com.oncreate.infitting, PID: 6792 java.lang.RuntimeException: takePicture failed at android.hardware.Camera.native_takePicture(Native Method) at android.hardware.Camera.takePicture(Camera.java:1523) at com.google.android.cameraview.Camera1.takePictureInternal(Camera1.java:227)...
How to get the current frame?
Hey guys, Not sure if it is an issue, but if I set Aspect Ratio explicitly in code to, e.g. 9:16 for supporting portrait mode and then call `getAspectRatio()` the...
It would be nice to have the capability to integrate the Mobile Vision API from google with the CameraView! Reason: I've been working on adding a simple camera preview to...
saved picture (4:3) is not same as when it looks camera preview. They like cropped or trimmed. How do i take pics like they look in camera preview mode.
can we make Constants public?
Process: com.google.android.cameraview.demo, PID: 17229 java.lang.NullPointerException: Attempt to invoke virtual method 'android.hardware.camera2.CaptureRequest$Builder android.hardware.camera2.CameraDevice.createCaptureRequest(int)' on a null object reference at com.google.android.cameraview.Camera2.captureStillPicture(Camera2.java:562) at com.google.android.cameraview.Camera2.takePicture(Camera2.java:325) at com.google.android.cameraview.CameraView.takePicture(CameraView.java:376) at com.google.android.cameraview.demo.MainActivity$1.onClick(MainActivity.java:91) at android.view.View.performClick(View.java:5280) at android.view.View$PerformClick.run(View.java:21239) at...