目录

About This Kit

Scan Kit provides the system-level barcode scanning service that collaborates software and hardware, helping you quickly build capabilities that can recognize barcodes and generate barcode images for various scenarios in your atomic services. Leveraging multiple computer vision technologies and AI algorithms, Scan Kit can automatically scan barcodes that are far away from the camera and recognize barcodes in low-light environments as well as barcodes that are damaged, unclear, or in a hard-to-read position for accurate scanning in all kinds of environments. This leads to a higher barcode recognition rate and improved user experience.

Use Cases

Scan Kit offers the following capabilities for atomic services:

Constraints

[h2]Supported Devices

[h2]Restrictions

Capability Restriction
Barcode scanning by default UI Since API version 26.0.0, the isDefaultScanSupported API can be used to check whether the current device supports barcode scanning on the default UI. Since API version 6.1.0(23), the title can be dynamically displayed based on the scanTypes parameter in ScanOptions. Since API version 6.0.0(20), the floating window and split-screen scenarios are supported. Gallery-based barcode scanning can only recognize one barcode at a time. The default UI does not support custom settings.
Barcode image generation If data parsed from a byte-array-generated barcode image appears garbled, a dedicated decoder is required to decode the byte array. A typical example of this requirement is barcode recognition for subway turnstiles.

Emulator Support

This kit supports the Emulator, but there are some differences in feature support between real devices and the Emulator: