Skip to content

Latest commit

Β 

History

History
34 lines (21 loc) Β· 1 KB

File metadata and controls

34 lines (21 loc) Β· 1 KB

πŸ“¦ Scan Single Barcode - Next.js

This sample demonstrates how to use the BarcodeScanner API from the Dynamsoft Barcode Reader JavaScript SDK in a Next.js app to scan a single barcode using the camera.

✨ Features

  • Easy integration with pre-built UI
  • BarcodeScanner instance created in a client-side Next.js component
  • Scans one barcode at a time from video
  • Supports uploading local images via showUploadImageButton option

πŸš€ Quick Start

1. Install Dependencies

npm install

2. Start the App

npm run dev

Then open http://localhost:3000/ to view the sample app.

πŸ“Œ Customization

Please check the official documentation.

πŸ“„ Support

If you have any questions, feel free to contact Dynamsoft Support.