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.
- Easy integration with pre-built UI
BarcodeScannerinstance created in a client-side Next.js component- Scans one barcode at a time from video
- Supports uploading local images via
showUploadImageButtonoption
npm installnpm run devThen open http://localhost:3000/ to view the sample app.
Please check the official documentation.
If you have any questions, feel free to contact Dynamsoft Support.