A demo configured to detect a wide range of barcode formats (1D and 2D). Useful when you need broad-format support in one flow.
index.html— demo page (camera & image input).ReadAllBarcodeFormats.json— example configuration for enabling multiple formats.
- Detect many barcode symbologies (1D + 2D) in a single run
- Example JSON to control enabled formats
Opening HTML files directly may not work as expected. Instead, run a local development server. Here’s a quick method using Visual Studio Code:
-
Install the Five Server extension from the VS Code Marketplace.
-
Right-click on
index.htmland select "Open with Five Server".
- If performance is slow, disable seldom-used formats in the JSON config.
- Use ROI and resolution tuning to balance speed and accuracy.
- Use localhost/HTTPS to enable camera access.
- Adjust the sample configuration for your target deployment.