This directory contains focused scenario samples that show common real-world uses of the Dynamsoft Barcode Reader (JavaScript edition). Each sample is a small, runnable example illustrating a specific workflow.
Included samples
- pick-one-to-fill/ — Picking the correct one from multiple candidates by scanning barcodes.
- cart-builder/ — Single-page demo illustrating adding scanned items into a shopping cart.
- scan-and-search/ — Example that scans a barcode and performs a lookup/search operation.
- show-result-texts-on-the-video/ — Overlay decoded text on live video while scanning.
- batch-inventory/ — Batch scanning workflow for inventory collection and export.
- read-a-drivers-license/ — Demo for reading and parsing a driver's license image/data.
- read-vin/ — Demo for reading and parsing a VIN(vehicle identification number) code.
- read-and-parse-GS1-AI/ — Example showing GS1 AI parsing and data extraction.
- scan-qr-code/ — QR code targeted demo and settings.
- scan-datamatrix-code/ — DataMatrix code targeted demo and settings.
- scan-dpm-codes/ — Demo for reading Direct Part Mark (DPM) codes etched or marked on surfaces.
- scan-common-1D-and-2D/ — Demo configured to detect a wide range of barcode formats.
- scan-common-2D-codes/ — Focused on common 2D barcode formats decoding.
- scan-1D-Retail/ — 1D retail barcode tuning example.
- scan-1D-Industrial/ — 1D industrial barcode tuning example.
- scan-from-distance/ — Demo for scanning barcodes from a distance (zoom/ROI tuning).
- locate-an-item-with-barcode/ — UI to help locate items with barcodes in a list or layout.
- debug/ — Debug utilities and a small server (frame collector) used for testing and troubleshooting.
Note
- Use a development server; opening pages via file:// may break module loading or camera access.
- Camera and microphone access require secure context (https or localhost).
- A trial license is included for short-term testing; get a trial license from Dynamsoft for extended evaluation.
- See the repo root README.md for general instructions and links to API.