-
-
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
🐛 Setting Camera format prop seems like disabling antialiasing on preview #3256
Comments
Guten Tag, Hans here! 🍻 Thank you for reporting this issue with setting the camera format prop. It looks like you have provided a lot of useful information, including screenshots and logs. To further assist, could you please try a few things? First, make sure that your device's camera settings are all optimized, such as checking if there are any available firmware updates. Also, kindly help us by providing logs from Thanks for your contribution, and for supporting the project! If you find this library useful, consider becoming a sponsor to receive priority assistance.
|
Also here is full logs: |
I have exactly the same problem on iPhone 8 and iPhone 14 Pro
with format={format} very bad preview format (only on the back camera), without format={format} - perfect |
@ugar0ff Hello, try to use camera format like this
is seems like on ios preview quality depends on videoResolution of format It if helps and you want to use PhotoPortrait template you could try something like this:
|
this helped, thank you! |
What's happening?
Thanks for this great library!
I tried to set different camera formats and noticed that setting any of them leads to poor preview quality(seems like some default antialiasing disabled). If remove this parameter, the preview looks great.
I was able to reproduce this in example app(At the moment I have only tested it on Android).
So if camera format is set preview look like this:
If remove camera format prop:
Reproduceable Code
Relevant log output
Camera Device
Device
POCO X5 Pro 5G (Android 14)
VisionCamera Version
4.5.3
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: