Skip to content

Vision Barcode Overview

Tua Rua edited this page Oct 6, 2018 · 2 revisions

The contents of this page are based on the original Firebase Documentation

With ML Kit's barcode scanning API, you can read data encoded using most standard barcode formats.

Barcodes are a convenient way to pass information from the real world to your app. In particular, when using 2D formats such as QR code, you can encode structured data such as contact information or WiFi network credentials. Because ML Kit can automatically recognize and parse this data, your app can respond intelligently when a user scans a barcode.

This is a beta release of ML Kit for Firebase. This API might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy.

Key capabilities

Reads most standard formats
  • Linear formats: Codabar, Code 39, Code 93, Code 128, EAN-8, EAN-13, ITF, UPC-A, UPC-E2
  • 2D formats: Aztec, Data Matrix, PDF417, QR Code
Automatic format detection Scan for all supported barcode formats at once, without having to specify the format you're looking for. Or, boost scanning speed by restricting the detector to only the formats you're interested in.
Extracts structured data Structured data stored using one of the supported 2D formats are automatically parsed. Supported information types include URLs, contact information, calendar events, email addresses, phone numbers, SMS message prompts, ISBNs, WiFi connection information, geographic location, and AAMVA-standard driver information.
Works with any orientation Barcodes are recognized and scanned regardless of their orientation: right-side-up, upside-down, or sideways.
Clone this wiki locally