Demo and Samples
- Demo and Samples
Demos
Barcode Scanner Demo
BarcodeScanner API Samples
ScanSingleBarcode
Scan a barcode with the ready-to-use UI, BarcodeScannerActivity
. The scanner always returns a single result. User have to select one barcode if multiple barcodes are scanned.
Check code on GitHub
Foundation API Samples
Read Single Barcode (With CameraEnhancer)
Decode barcodes from video streaming. It shows the simplest code to implement a video barcode scanner.
Read Single Barcode (With CameraX)
Generally the same as DecodeWithCameraEnhancer
but using CameraX
library as the input.
Decode Barcodes from an Image
Decode barcodes from an still image. It shows how to select a image from the album and decode it.
Decode Multiple Barcodes from Video Stream
This sample shows how to efficiently decode multiple barcodes from the video stream.
General Barcode Decoding Settings
Displays general barcode decoding settings and camera settings like barcode formats, expected barcode count and scan region settings. The default scan mode is continuous scanning.
Decode Tiny Barcodes
The sample to tell you how to process the tiny barcodes including zoom and focus control.
Locate an Item with Barcode
Input an ID with barcode text and detect it from multiple barcodes under the screen.
ID Scanning Samples
Scan a Driver’s License (via PDF417 Barcode)
Scan the PDF417 barcodes on a drivers’ license and extract the drivers information.
Other Use Case Samples
Scan VIN Barcode
Scan the vin barcode and extract the vehicle information.