You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-04-04 15:46:56.485 9711-9711 CameraSession com.mrousavy.camera.example E Failed to configure CameraSession! Error: ImageAnalysis is not supported when Extension is enabled on this device. Check ExtensionsManager.isImageAnalysisSupported before binding the ImageAnalysis use case., Config-Diff: Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false, locationChanged=false)
java.lang.IllegalArgumentException: ImageAnalysis is not supported when Extension is enabled on this device. Check ExtensionsManager.isImageAnalysisSupported before binding the ImageAnalysis use case.
at androidx.camera.lifecycle.LifecycleCameraRepository.bindToLifecycleCamera(LifecycleCameraRepository.java:312)
at androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle(ProcessCameraProvider.java:609)
at androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle(ProcessCameraProvider.java:386)
at com.mrousavy.camera.core.CameraSession.configureCamera(CameraSession.kt:417)
at com.mrousavy.camera.core.CameraSession.configure(CameraSession.kt:165)
at com.mrousavy.camera.CameraView$update$1.invokeSuspend(CameraView.kt:156)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Dingenis
changed the title
🐛 ImageAnalysis is not supported when Extension is enabled on this device when enabling HDR in example app.
🐛 ImageAnalysis is not supported when Extension is enabled on this device when enabling HDR in example app
Apr 4, 2024
What's happening?
When enabling HDR in the example app, an error is thrown. The error is only thrown when
photo={true}
,photoHdr={true}
and a frame processor is set.Reproduceable Code
Relevant log output
Camera Device
Device
Samsung Galaxy A53 (Android 14)
VisionCamera Version
4.0.0-beta.13
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
The text was updated successfully, but these errors were encountered: