Advertisement

Google will soon make it easier to scan distant QR codes

Android enables Auto Zoom for Long Distance QR Code Scanning

Scanning QR codes on mobile devices has often been a bit of a hassle. While Android has tried to make it easier through Quick Settings shortcuts and camera integration, the small size of QR codes often requires users to zoom in or get closer for successful scanning. However, Google is addressing this inconvenience with updates designed to significantly improve the QR code scanning experience.

Introducing Auto-Zoom to Barcode Scanning APIs

Recent tweets by Mishaal Rahman have shed light on Google’s efforts to enhance Android’s barcode scanning capabilities. The company has introduced an auto-zoom feature to both the ML Kit’s Barcode Scanning API and its proprietary Code Scanner API. This update eliminates the need for manual zooming when attempting to scan QR codes at a distance.

Distinguishing Between Google Code Scanner and ML Kit Barcode Scanning API

Rahman’s tweets also highlighted the distinctions between the Google Code Scanner API and the ML Kit Barcode Scanning API. The former enables applications to scan barcodes without necessitating a custom UI or dedicated camera interface.

In contrast, the ML Kit Barcode Scanning API is tailored for more complex scenarios that require custom user interfaces. The ML Kit Barcode Scanning API comes in bundled and unbundled versions to accommodate diverse integration preferences. Developers are required to integrate the API into their apps before users can access these enhanced features.

Screenshot 2023 08 04 at 3.28.06 PM

As a result, third-party apps using either API will soon be equipped with the capability to automatically zoom in on distant QR codes. Furthermore, given that the built-in QR scanner in Android 13 and later versions utilizes the ML Kit Barcode Scanning API, this auto-zoom functionality could potentially extend to QR code scanning within the camera app as well.

Visualizing the Improvement: Video Demonstration

Rahman’s tweet included a video demonstration of the feature using a regular Android camera. The footage depicts the camera detecting a distant QR code and autonomously zooming in to align with it. While seemingly a minor improvement, this added convenience is sure to be well-received by users seeking a smoother QR code scanning experience.

Muchiri Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *