Skip to content
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

Android camera not focusing #33

Open
James-A-White opened this issue Mar 8, 2019 · 3 comments
Open

Android camera not focusing #33

James-A-White opened this issue Mar 8, 2019 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@James-A-White
Copy link

James-A-White commented Mar 8, 2019

First of all, many thanks for the great plugin. It took me a while to get it to work on AndroidX, but if you follow the instructions very carefully, it does work.

My problem is that the camera on my Nokia Android phone does not focus when using the fast qr reader. This is particularly a problem when you need to hold a QR code close to the lens because it has a lot of data encoded and thus small details. I have confirmed that my camera does close focus when you use it with the built-in camera app. Is there any way to get it to focus properly (mainly supporting close focus) when reading QRs through the fast qr reader package?

Everything works great on iOS.

Thanks,

Jw

@facundomedica
Copy link
Owner

@James-A-White that should be done automagically, I should check the parameters of the camera. But I won't be working on this for a while, feel free to investigate and open a PR

@facundomedica facundomedica added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels May 15, 2019
@x4080
Copy link

x4080 commented May 25, 2019

@James-A-White , I found quite the opposite, in Android scanning works quickly, but in iOS it scans the same barcode slowly and often not recognized it, do you change the ResolutionPreset to high in iOS ?

@facundomedica Have you tested iOS using firebase ML kit instead of AVFoundation ? I wondered if it will run faster compared to AVFoundation one, or do you have tips to improve iOS performance ?

Thanks

@x4080
Copy link

x4080 commented May 25, 2019

Solve it using ResolutionPreset to high in iOS, @facundomedica, should we use ResolutionPreset to low in android ? I tried the code in example folder and default is low

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants