Skip to content

Dynamsoft/barcode-reader-javascript-samples

Repository files navigation

Dynamsoft Barcode Reader samples for the web

This repository contains multiple samples that demonstrates how to use the Dynamsoft Barcode Reader JavaScript Edition for creating web-based barcode scanning applications.

Request a trial license

A default license is included which allows you to test the sample apps for up to 24 hours. You can request a trial license via Dynamsoft customer portal to evaluate further.

Documentation

For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the documentation.

Support

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

Sample list

Hello World

Get the basic features of the library working with plain/native JavaScript or within a framework like Angular, React or Vue, etc.

  • Hello World: Scan barcodes from video stream with minimum code in JavaScript.
  • Read an Image: Decode barcodes from images in mobile album or desktop file system.
  • Hello World in Angular: Decode video stream in an Angular application from a webcam or a built-in camera.
  • Hello World in React: Decode video stream in a React application from a webcam or a built-in camera.
  • Hello World in React using Hooks: Decode video stream in a React application from a webcam or a built-in camera and use the Hooks charactor of React.
  • Hello World in Vue: Decode video stream in a Vue 2 application from a webcam or a built-in camera.
  • Hello World in Vue 3: Decode video stream in a Vue 3 application from a webcam or a built-in camera.
  • Hello World in Next.js: Decode video stream in a Next.js application from a webcam or a built-in camera.

Customize Camera UI

Parameter Settings

How to configure different settings of the barcode scanning library.

Use Cases

Others

  • Debug: Collect the actual image frames for debugging purposes.