juliuscanute / qr_code_scanner

QR Code Scanner for Flutter
BSD 2-Clause "Simplified" License
999 stars 759 forks source link

A method to force the camera to focus again #559

Open marcchiu opened 2 years ago

marcchiu commented 2 years ago

Currently, when a camera focus is far or the camera is pointing to some smooth surface it tends to lose focus or focus at somewhere off. When a QR is presented in between, we have to wait for some time until the camera detect there is a new object and auto focus.

Describe the solution you'd like A trigger-focus method to force the camera to auto focus again. So we can call it programmatically, e.g. a GestureDetector/Button/speech etc.

MrSobirov commented 2 years ago

Any updates or solutions? How to make camera autofocus?