HUAWEI Scan Kit scans and parses all major 1D and 2D barcodes and generates QR codes, helping you quickly build barcode scanning functions into your apps.
HUAWEI Scan Kit automatically detects, magnifies, and identifies barcodes from a distance, and is also able to scan a very small barcode in the same way. HUAWEI Scan Kit works even in suboptimal situations, such as under dim lighting or when the barcode is reflective, dirty, blurry, or printed on a cylindrical surface. This leads to a higher scanning success rate, and an improved user experience.
Scan Kit allows support for 13 major barcode formats (listed as follows). If your app requires only some of the 13 formats, specify them in the scanning API to make scanning faster. specify the supported ones to speed up barcode scanning.
1D barcodes: EAN-8, EAN-13, UPC-A, UPC-E, Codabar, Code 39, Code 93, Code 128, and ITF
2D barcodes: QR code, Data Matrix, PDF417, and Aztec
Scan Kit can be called in four ways: Default View, Customized View, Bitmap, and MultiProcessor. Choose the one that suits your needs best. For details, please refer to Building Scanning Capabilities.
Call Mode | Scanning Performed By | Scanning UI | Function |
Default View | Scan Kit | Provided by Scan Kit. | Scan barcodes using the camera or from images in the album. |
Customized View | Scan Kit | Customized by yourself. | Scan barcodes using the camera. |
Bitmap | Your app | Customized by yourself. | Scan barcodes using the camera or from images in the album. |
MultiProcessor | Your app | Customized by yourself. | lScan barcodes using the camera or from images in the album. lIdentify multiple barcodes simultaneously. lWork with ML Kit to identify different objects (such as barcodes and faces) at the same time. |
Scan Kit returns the original content of a barcode to you, and analyzes the barcode with content encoded in a specific format to extract structured data, helping you quickly build associated services. Extracted structured data includes contact information, Wi-Fi connection information, URLs, calendar events, business cards, SMS messages, phone numbers, email addresses, geographical locations, product barcodes, and International Standard Book Numbers (ISBNs).
Scan Kit can convert character strings into 1D or 2D barcodes in 13 formats, including EAN-8, EAN-13, UPC-A, UPC-E, Codabar, Code 39, Code 93, Code 128, ITF, QR code, Data Matrix, PDF417, and Aztec. To generate a barcode, you only need to specify its character string, code format, and size.
When developing apps using the HMS SDK, please comply with the HUAWEI Developer Service Agreement, Agreement on Use of Huawei APIs, and AppGallery Connect Data Processing Addendum. HUAWEI Scan Kit only performs the scanning process on the device. It does not upload or store any personal data or images. It collects necessary data for operations analysis, which must be declared in the privacy statement of your app. If you want to know what data will be collected, please refer to SDK Data Security.