Category "android-camera2"

android camera2 Api autoflash not working properly, the first picture is taken before the flash fires

I'm using camera 2 API, my project is heavily based on the archived project from google: https://github.com/googlearchive/android-Camera2Basic/ I'm starting the

Get camera ISO / shutter speed using CameraX or Camera2

I'm trying to get the current preview's shutter speed and ISO settings. I cannot find a way to do this using CameraX or Camera2. Is this not something that is a

Camera2 API return Camera is error 4 only on SDK 29

I have implemented in my Android application a customization of the camera intent, the basic source code is derived to the officials google github repository.

Can camera2 API tell me the difference between the current exposure and the ideal one?

We're building a camera app, and we want to use manual exposure. We don't want the exposure algorithm to set the ISO and exposure duration; instead we want it t

Samsung S21 camera2 API issue with near object

I am using Camera 2 API for capture image and it is working fine for other device than Samsung S 21 ultra 5G Android ver 11. I am getting blurry image when capt

Cannot take picture on flutter camera because of "unconfigured surface"

I wanted to capture the image and display a preview screen showing the captured image. It worked fine before, but once I added object detection, I receive a gro

How to set android camera2 preview and capture size?

I am using a SurfaceView to show the preview I capture. I want to use width=1080,height=1920 for the preview. Where can I set the size of the preview? I google

How to use camera2 with detect barcode

Camera is now deprecated and the recommend is to use camera2, can some one guide me to have any idea how to use camera2 with detect barcode

Calling of camera from different thread

I am writing a code that should capture images and send it to a python server. One part of this code requires calling the camera. My solution for this was to si

YUV buffer size not matching image size

I am currently using Android Camera2 API and decoding the frames through an ImageReader in a YUV_420_888 format. I managed to get everything working, all looks

Camera2 Api..java.lang.IllegalArgumentException: Surface had no valid native Surface

I was trying so long for Camera2 api integration to my app.Its working fine for capturing image at first.But when i snap second time the preview was not coming.