-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 MinZoom Problem in some devices (0,5) #3345
Comments
Guten Tag, Hans here! 🍻 Thank you for providing detailed information about ze issue with ze min zoom setting. It seems like you might be facing a valid bug, but we need more information to help mrousavy troubleshoot ze problem effectively. Could you please provide some relevant logs from ze device? For Android, you can gather logs using Also, if you find ze project helpful, consider sponsoring mrousavy here to help keep ze development going! Looking forward to your response!
|
I have the same issue |
I have same issue. My device(Android) supports 0.6x zoom but this shows "minZoom": 1 in devices.
|
@prakashpro3 well i've talked with the support of android and it seems like the problem is in some devices but they left a snippet of code that maybe can help but it need to be done inside the package maybe @mrousavy is interested ill leave the link here maybe it will give you some clarity https://groups.google.com/a/android.com/g/camerax-developers/c/N4YtXK-6-CU |
I encountered the same issue. I have an ultra-wide-angle camera with 0.5x, minZoom = 1, naturalZoom = 1, and maxZoom = 8. When I compare the result with the native camera app, I see that when my zoom is set to 1, the result is the same as in the native camera app with zoom set to 0.5. From what I’ve read in the documentation, I expected to see naturalZoom = 2. |
hey - hm this actually seems like a CameraX inconsistency. Thanks for creating the bug report in the CameraX issue tarcker @dorakadri ! :) |
I think the snippet Scott shared in the CameraX issue tracker does not apply here. VisionCamera already grabs all Cameras, so you can select the one you want. This is not the same issue if I read this correctly |
@ugar0ff min/neutral/max zoom are factors. Max zoom of 8 means you can zoom in 8x of the default view. |
I continue testing, As a result, on the UI, I display the zoom range from 0.5 to 15, but I send twice the value to the library (from 1 to 30). The neutralZoom: 2 is displayed on the UI as 1. However,
Example of all "back" cameras from my Samsung:
|
What's happening?
in some devices the min zoom is always 1 even tho its supposed to be 0,5 and that the physical device shows as ultra wide range
Reproduceable Code
Relevant log output
Camera Device
Device
Samsung Galaxy a73 5g
VisionCamera Version
4.5.1 / 4.6.1
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: