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

java.lang.IllegalStateException: The selected camera does not support the enabled use cases. Please disable use case and/or select a different camera. e.g. #setVideoCaptureEnabled(false) at androidx.camera.view.v.x(CameraController.java:7) at androidx.camera.view.v.w(CameraController.java:1) at androidx.camera.view.v.a(CameraController.java:8) at androidx.camera.view.PreviewView.a(PreviewView.java:5)...

Hello, I am trying to add a text overlay using camera2 API over a texture view, I have been searching for the last 1 week so far nothing found. ![Ku96V](https://github.com/android/camera-samples/assets/99484529/95d74180-3f4f-489b-b675-f63a3ed5cd0d)...

I found a small error while trying to practice CameraX-MLKit. The following error occurred because the rootProject.name in settings.gradle was set to Camerax-MLKit instead of CameraX-MLKit. ``` java.lang.IllegalStateException: Module entity...

The example for CameraX is outdated (last commit 2 years ago). Can we update the example app to show how to use JetPack compose and CameraX?

Hi all, I'm looking into using the new [`OverlayEffect`](https://developer.android.com/reference/kotlin/androidx/camera/effects/OverlayEffect) class in my app to draw bounding boxes and labels of objects recognized by ML Kit's implementation of `ImageAnalysis.Analyzer` (i.e. [`MlKitAnalyzer`](https://developer.android.com/training/camerax/mlkitanalyzer))....

I am getting this error when i call cameraProvider.getAvailableConcurrentCameraInfos(). I tested this on two devices it works fine on samsung note 10+ but gives this error on sony xperia 1...

Why do we need to convert HLG to PQ display instead of directly displaying HLG in HDR

Please follow the following instructions before filing a bug: 1. Github issues under this project are only for **sample**-related issues. If you have modified the sample code in any way,...

Please follow the following instructions before filing a bug: 1. Github issues under this project are only for **sample**-related issues. If you have modified the sample code in any way,...