camera-samples icon indicating copy to clipboard operation
camera-samples copied to clipboard

Multiple samples showing the best practices in camera APIs on Android.

Results 189 camera-samples issues
Sort by recently updated
recently updated
newest added

I've already implemented the preview, video capture and image analysis use cases for cameraX and everything works fine, I can visualize the preview, record a video or do image analysis....

Create issue to track: https://groups.google.com/a/android.com/g/camerax-developers/c/efdw0tVd7QY/m/8SO6KVl6BQAJ?utm_medium=email&utm_source=footer

``` previewBack.setSurfaceProvider(viewBack.surfaceProvider) previewFront.setSurfaceProvider(viewFront.surfaceProvider) val cameraBack = cameraProvider.bindToLifecycle(this, cameraSelectorBack, previewBack) val cameraFront = cameraProvider.bindToLifecycle(this, cameraSelectorFront, previewFront) ``` ``` java.lang.IllegalArgumentException: Multiple LifecycleCameras with use cases are registered to the same LifecycleOwner. at...

I'm working on with high-speed camera with Google Pixel 4a smartphone. When I'm setting the manual focus and digital zoom for 720p 120fps, the code runs smoothly. However, when I...

What are the possible ways to access Telephoto lens using Camera2 or CameraX api, I've gone through different blogs and forum discussions but couldn't found any solution. Is there any...

Hi guys. How can manually rotate (90/180/270) camera2 preview, using AutoFitSurfaceView/SurfaceView from example? Thanks!

Is DEPTH16 in Camera2 API ready to use? or we are supposed to use ARCore for depth detection? My use case is not to render depth data/image continuously on screen,...

Hello, I've just started Android programing. I have developed a filter collection for Images in Java and I like to make it run on Android. I'd like to make a...

Hi, I am using camera2 in my app. Generally camera works fine for most of the users but for some users when they try capture image an exception is thrown...

more info

In Android 12 getting this exception while capturing image. `W/System.err: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): waitUntilIdle:1313: Camera 0: Error waiting to drain: Connection timed out (-110)`

more info