camera-samples
camera-samples copied to clipboard
Multiple samples showing the best practices in camera APIs on Android.
Device model: Galaxy S9 SM-G960U Android version: 10 Android build number: QP1A. 190711.020.G960USQU9FUE1 Steps to reproduce (on any device running Android 7+): 1. Open camera 2 sample app in multi-window...
I want to open front and rear camera at the same time to take picture. I can do this using camera 2 api : CameraManager. openCamera. But I don't find...
Use the code below to query metadata. ``` val model = ExifInterface(savedUri.toFile()).getAttribute(ExifInterface.TAG_MODEL) Log.d(TAG, "Photo capture succeeded: model ==> $model") ``` Here is patch. The target branch hash is : `852767fd`...
Feature request: can you show case how to use onTopResumedActivityChanged with camerax?
What I am looking for is to be able to start preview, start recording video, end recording video , and I wan to do that in a way, that I...
W/CaptureSession: Opening session with fail OPENING android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): checkPidStatus:1746: The camera device has been disconnected and when recall capture, onError function was called: ``` public void onError(@NonNull ImageCaptureException exception)...
When testing on an emulator and any device really, the screen flashes when we record video. I understand it is due to the repeating animation but it is not natural...
In Samsung Galaxy S6 the video result has a green flickering and glitching effect. I think it's probably related somehow with SurfaceView, I've tried and old implementation using TextureView and...
Hello, we use cameraX for the production and started to notice increasing crashes, because of the ** yuvToRgb** (specifically _**imageToByteArray(image: Image, outputBuffer: ByteArray)**_) [YuvToRgbConverter](https://github.com/android/camera-samples/blob/main/CameraUtils/lib/src/main/java/com/example/android/camera/utils/YuvToRgbConverter.kt) starting camera x core beta version...
I want use opengl in Camera2Basic, but I do not how to add SurfaceTexture in it, is there some samples , thank you