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

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

Device: Huawei P40 Lite E dependencies: ``` //CameraX dependencies def camerax_version = "1.1.0-alpha03" //ML kit for computer vision, needed for face detection //bundled with app implementation 'com.google.mlkit:face-detection:16.0.6' //CameraX core library...

Hello I am testing Camera2Video source code and found error as below ``` 2020-11-04 14:55:39.317 30311-3794/com.android.example.camera2.video E/MediaRecorder: stop failed: -1007 2020-11-04 14:55:39.348 30311-3794/com.android.example.camera2.video E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1 Process: com.android.example.camera2.video, PID:...

Reproduce steps: 1. Launch camera2video sample app 2. Select "Back (0) 1280x720 30 FPS" (basically any resolution/fps combination has the same result) 3. Tap record circle button -> app crashes...

Steps to reproduce: 1. Clone the repo 2. Open the CameraXBasic project 3. Run `./gradlew test` Observe: Build failure with the following output ``` > Task :app:testDebugUnitTest com.android.example.cameraxbasic.MainInstrumentedTest > useAppContext...

Pre-Req: I am using Android Q version. Steps to reproduce: 1. Open the Camera2Basic app. 2. Select any camera say Back JPEG (0) 3. Keep the app running. 4. On...

in cameraX API, we have this "cameraProvider = cameraProviderFuture.get()". this line will lead app to crash when use "androidx.camera:camera-camera2:1.1.0-alpha02" at Samsung S10 5G. but "cameraProvider = cameraProviderFuture.get()" is good when...

This exception is submitted here: https://github.com/Kotlin/kotlinx.coroutines/issues/839 Hardware was Samsung SM-A716U. Resolution attempted was 4624x3468 @ 30fps 3840x2160 @ 30fps works fine Note that I had trouble building this due to...

https://github.com/android/camera-samples/blob/main/Camera2Video/utils/src/main/java/com/example/android/camera/utils/OrientationLiveData.kt This method returns 270 when device is on landscape orientation (Surface.ROTATION_90) and camera orientation degrees is 0 ```computeRelativeRotation(Surface.ROTATION_90)``` returns 90 for 0 camera sensor degrees but should return 0...

Using CameraX 1.1.0-alpha02, there is not way to minic what iOS does with respect to taking the video buffer, modifying it with CISourceOverCompositing and then use the result to feed...