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'm testing on TECNO POP 2F (b1f) CPU Core-Count = 4 RAM = 1.00G Internal Storage = 16GB Screen Resolution = 960 X 480 I'm using the CameraXBasic Example The...

Hi thanks for this demo! However, when taking photo, it is not ensured that scene is focused. Therefore, users have to manually tap or wait to focus, before they can...

Instead of only half of the screen flashing, I have a solution to make the whole screen flash after an image is taken

E/CameraManager: Failed to parse camera Id /dev/video0 to integer D/CameraRepository: Added camera: /dev/video0 W/Camera2CamcorderProfileProvider: Camera id is not an integer: /dev/video0, unable to create CamcorderProfileProvider I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_EXTERNAL D/CameraValidator:...

So there is a bug when coroutine can endlessly wait https://github.com/android/camera-samples/blob/main/Camera2Basic/app/src/main/java/com/example/android/camera2/basic/fragments/CameraFragment.kt#L372 It may happen if you make many photos by tapping take photo button fast and continuously for some time...

Is there an example of camera2 focusing~~~I desperately need one

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,...

I am trying to run the Camera2Basic sample which says that is able to get depth image but I can't use it on my phone and the phone has depth...

How can I record multiple videos without closing the capture session?, I want the preview to stay visible when I end recording the video.

I am making a video by the app of this code. The recorded video is containing the extra portion/area, which is not visible during recording.