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
After calling await scanner.Scan(options); I got a squeezed camera view.
I tried it on several android devices but they all look that way. Are there any workaround or options to fix this?
Thanks.
The text was updated successfully, but these errors were encountered:
I just submitted a PR that calculates a more accurate display resolution. It's here: #906
It still won't be perfect because of how long the phone is, but it will pick a resolution that is closer to the aspect ratio of that surface view.
Ideally, the camera preview should be zoomed in and cropped a bit. Or, scaled down to fit with black bars on the top/bottom. And make both options configurable. Unfortunately, I couldn't figure out how to do either of those :( Otherwise I think my PR is the best approach at the moment.
After calling await scanner.Scan(options); I got a squeezed camera view.
I tried it on several android devices but they all look that way. Are there any workaround or options to fix this?
Thanks.
The text was updated successfully, but these errors were encountered: