camera-samples
camera-samples copied to clipboard
Multiple samples showing the best practices in camera APIs on Android.
Hi! I'm trying to create a Camera2 `CameraCaptureSession` that is capable of four outputs: 1. On-screen preview (`SurfaceView`, up to 1080p) 2. Photo capture (`ImageReader`, up to 8k photos) 3....
I would like to apply beauty filters, like Eye Enlargements, Skin Tone Enhancement, makeup beauty filters, and similar things on my Camera app. Does CameraX support these? How can I...
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,...
Update Project dependencies to most recent versions. Update gradle to most recent versions.
Hi, I'm running the CameraX Basic sample. When I press the capture button, following error is shown in the logcat: ``` Session 0: Exception while stopping repeating: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3):...
Trying the exemple in a Samsung Tablet with Android 8 the PermissionsFragment class always shows a Toast "Permission request denied" I noticed that the only permission asked with registerForActivityResult is...
The sample crashes on any device besides Samsung Galaxy 10. From what I see, something's wrong with preview configuration. Note that the below error pops before even the recording esssion...
so in the Camera2Video sample in the CameraActivity class you are importing this import com.example.android.camera2.video.databinding.ActivityCameraBinding but databinding dosent even exist in the project structure
After I import Camera2Basic into Android Studio and run it (My device only has front camera) for the first time, camera opened normally, then no matter I exit camera, clear...
Please follow the following instructions before filing a bug: i have added the orientationEventListener for getting the rotated image bt it not worked in Samsung and worked on one plus...