|
1 | 1 | # Dynamsoft Barcode Reader samples for the web |
2 | 2 |
|
3 | | -This repository contains multiple samples that demonstrates how to use the [Dynamsoft Barcode Reader JavaScript Edition](https://www.dynamsoft.com/barcode-reader/sdk-javascript/). |
| 3 | +This repository contains multiple samples that demonstrates how to use the [Dynamsoft Barcode Reader JavaScript Edition](https://www.dynamsoft.com/barcode-reader/sdk-javascript/?utm_source=sampleReadme) for creating web-based barcode scanning applications. |
4 | 4 |
|
5 | | -## Hello World |
| 5 | +## Request a trial license |
6 | 6 |
|
7 | | -Get the basic features of the library working with plain/native JavaScript or within a framework like [Angular](https://angular.io/), [React](https://reactjs.org/) or [Vue](https://vuejs.org/), etc. |
| 7 | +A default license is included which allows you to test the sample apps for up to 24 hours. You can [request a trial license](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&package=js&utm_source=sampleReadme) via Dynamsoft customer portal to evaluate further. |
8 | 8 |
|
9 | | -* **Hello World**: Minimum necessary JavaScript code to get the BarcodeScanner (video) up and running. |
10 | | -* **Read an Existing Image**: Decode barcodes using images that are stored locally, whether on mobile or desktop. |
11 | | -* **Hello World in Angular**: Decode video stream in an Angular Application from a USB-connected or built-in camera (mobile or desktop). |
12 | | -* **Hello World in React**: Decode video stream in a React Application from a USB-connected or built-in camera (mobile or desktop). |
13 | | -* **Hello World in Vue 2**: Decode video stream in a Vue 2 Application from a USB-connected or built-in camera (mobile or desktop). |
14 | | -* **Hello World in Vue 3**: Decode video stream in a Vue 3 Application from a USB-connected or built-in camera (mobile or desktop). |
15 | | -* **Hello World in Next.js**: Decode video stream in a Next.js Application from a USB-connected or built-in camera (mobile or desktop). |
16 | | -* **Hello World in Nuxt**: Decode video stream in a Nuxt Application from a USB-connected or built-in camera (mobile or desktop). |
17 | | -* **Hello World in Electron**: Decode video stream in a Electron Application from a USB-connected or built-in camera (desktop only). |
18 | | -* **Hello World in PWA**: Decode video stream in a PWA Application from a USB-connected or built-in camera (mobile or desktop). |
19 | | -* **Hello World with RequireJS**: Decode video stream in a simple Application using RequireJS from a USB-connected or built-in camera (mobile or desktop). |
20 | | -* **Hello World with ES6**: Decode video stream in a simple Application using ES6 from a USB-connected or built-in camera (mobile or desktop). |
21 | | -* **Hello World in React with TypeScript**: Decode video stream in a React Application with TypeScript from a USB-connected or built-in camera (mobile or desktop). |
| 9 | +## Documentation |
22 | 10 |
|
23 | | -## Customize Camera UI |
| 11 | +For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the [documentation](https://www.dynamsoft.com/barcode-reader/programming/javascript/?ver=latest&utm_source=sampleReadme). |
24 | 12 |
|
25 | | -* **Use the Default Camera UI**: Show the default camera UI to decode video stream from a USB-connected or built-in camera (mobile or desktop). |
26 | | -* **Hide Display Controls**: Hide built-in UI elements (camera selection, resolution selection, etc.) and show only the video stream. |
27 | | -* **Set up External Controls**: Use custom controllers to manipulate the Camera UI. |
28 | | -* **Changing Size of Video Viewer**: Enlarge the video stream temporarily to read a barcode. |
29 | | -* **Customize the Camera UI**: Show the custom camera UI to decode video stream from a USB-connected or built-in camera (mobile or desktop). |
| 13 | +## Support |
30 | 14 |
|
31 | | -## Parameter Settings |
| 15 | +If you have any questions, feel free to [contact Dynamsoft support](https://www.dynamsoft.com/company/contact?utm_source=sampleReadme). |
32 | 16 |
|
33 | | -How to configure different settings of the library. |
| 17 | +## Sample list |
34 | 18 |
|
35 | | -* **Formats and Count**: Set the barcode formats and control the number of barcodes to read per image/frame. |
36 | | -* **Localization and Binarization**: Set how localization and binarization are done during barcode decoding. |
37 | | -* **Blurry or Small codes**: Set DeblurModes and ScaleUpModes for decoding blurry or small barcodes. |
38 | | -* **Deformed or Incomplete codes**: Set DeformationResistingModes or BarcodeComplementModes for decoding deformed or incomplete barcodes. |
39 | | -* **Define or Detect the Region**: Set the region of interest manually or regionPredetectionModes to speed up the reading process. |
| 19 | +### Hello World |
40 | 20 |
|
41 | | -## Use Case |
| 21 | +Get the basic features of the library working with plain/native JavaScript or within a framework like [Angular](https://angular.io/), [React](https://reactjs.org/) or [Vue](https://vuejs.org/), etc. |
42 | 22 |
|
43 | | -Use cases of the library. |
| 23 | +* [**Hello World**](https://demo.dynamsoft.com/samples/dbr/js/1.hello-world/1.hello-world.html?utm_source=sampleReadme): Scan barcodes from video stream with minimum code in JavaScript. |
| 24 | +* [**Read an Existing Image**](https://demo.dynamsoft.com/samples/dbr/js/1.hello-world/2.read-an-image.html?utm_source=sampleReadme): Decode barcodes from existing images that are stored locally, whether on mobile or desktop. |
| 25 | +* [**Hello World in Angular**](https://demo.dynamsoft.com/samples/dbr/js/1.hello-world/3.read-video-angular/dist/hello-world/?utm_source=sampleReadme): Decode video stream in an Angular application from a USB-connected or built-in camera (mobile or desktop). |
| 26 | +* [**Hello World in React**](https://demo.dynamsoft.com/samples/dbr/js/1.hello-world/4.read-video-react/build/?utm_source=sampleReadme): Decode video stream in a React application from a USB-connected or built-in camera (mobile or desktop). |
| 27 | +* [**Hello World in Vue 2**](https://demo.dynamsoft.com/samples/dbr/js/1.hello-world/5.read-video-vue/dist/?utm_source=sampleReadme): Decode video stream in a Vue 2 application from a USB-connected or built-in camera (mobile or desktop). |
| 28 | +* [**Hello World in Vue 3**](https://demo.dynamsoft.com/samples/dbr/js/1.hello-world/6.read-video-vue3/dist/?utm_source=sampleReadme): Decode video stream in a Vue 3 application from a USB-connected or built-in camera (mobile or desktop). |
| 29 | +* [**Hello World in Next.js**](https://www.dynamsoft.com/barcode-reader/programming/javascript/samples-demos/helloworld-nextjs.html?utm_source=sampleReadme): Decode video stream in a Next.js application from a USB-connected or built-in camera (mobile or desktop). |
| 30 | +* [**Hello World in Nuxt**](https://www.dynamsoft.com/barcode-reader/programming/javascript/samples-demos/helloworld-nuxtjs.html?utm_source=sampleReadme): Decode video stream in a Nuxt application from a USB-connected or built-in camera (mobile or desktop). |
| 31 | +* [**Hello World in Electron**](https://www.dynamsoft.com/barcode-reader/programming/javascript/samples-demos/helloworld-electron.html?utm_source=sampleReadme): Decode video stream in a Electron application from a USB-connected or built-in camera (desktop only). |
| 32 | +* [**Hello World in PWA**](https://demo.dynamsoft.com/samples/dbr/js/1.hello-world/10.read-video-pwa/helloworld-pwa.html?utm_source=sampleReadme): Decode video stream in a PWA application from a USB-connected or built-in camera (mobile or desktop). |
| 33 | +* [**Hello World with RequireJS**](https://demo.dynamsoft.com/samples/dbr/js/1.hello-world/11.read-video-requirejs.html?utm_source=sampleReadme): Decode video stream in an application using RequireJS from a USB-connected or built-in camera (mobile or desktop). |
| 34 | +* [**Hello World with ES6**](https://demo.dynamsoft.com/samples/dbr/js/1.hello-world/12.read-video-es6.html?utm_source=sampleReadme): Decode video stream in an application using ES6 from a USB-connected or built-in camera (mobile or desktop). |
44 | 35 |
|
45 | | -* **Read Video and Fill a Form**: Read barcodes to fill a form. |
46 | | -* **Read a Driver's License**: Read the PDF417 barcode on a driver's license (AAMVA compliant) and parse it. |
| 36 | +### Customize Camera UI |
47 | 37 |
|
48 | | -## Others |
| 38 | +* [**Use the Default Camera UI**](https://demo.dynamsoft.com/samples/dbr/js/2.ui-tweaking/1.read-video-show-result.html?utm_source=sampleReadme): Show the default camera UI to decode video stream from a USB-connected or built-in camera (mobile or desktop). |
| 39 | +* [**Hide Display Controls**](https://demo.dynamsoft.com/samples/dbr/js/2.ui-tweaking/2.read-video-no-extra-control.html?utm_source=sampleReadme): Hide built-in UI elements (camera selection, resolution selection, etc.) and show only the video stream. |
| 40 | +* [**Set up External Controls**](https://demo.dynamsoft.com/samples/dbr/js/2.ui-tweaking/3.read-video-with-external-control.html?utm_source=sampleReadme): Use custom controllers to manipulate the Camera UI. |
| 41 | +* [**Changing Size of Video Viewer**](https://demo.dynamsoft.com/samples/dbr/js/2.ui-tweaking/4.difference-video-size.html?utm_source=sampleReadme): Enlarge the video stream temporarily to read a barcode. |
| 42 | +* [**Customize the Camera UI**](https://demo.dynamsoft.com/samples/dbr/js/2.ui-tweaking/5.read-video-with-custom-default-ui.html?utm_source=sampleReadme): Show the custom camera UI to decode video stream from a USB-connected or built-in camera (mobile or desktop). |
49 | 43 |
|
50 | | -* **Debug**: Collect the actual image frames for debugging purposes. |
| 44 | +### Parameter Settings |
51 | 45 |
|
52 | | -## Support |
| 46 | +How to configure different settings of the barcode scanning library. |
| 47 | + |
| 48 | +* [**Formats and Count**](https://demo.dynamsoft.com/samples/dbr/js/3.settings/1.barcodeFormats-expectedBarcodes.html?utm_source=sampleReadme): Set the barcode formats and control the number of barcodes to read per image/frame. |
| 49 | +* [**Localization and Binarization**](https://demo.dynamsoft.com/samples/dbr/js/3.settings/2.localizationModes-binarizationModes.html?utm_source=sampleReadme): Set how localization and binarization are done during barcode decoding. |
| 50 | +* [**Blurry or Small codes**](https://demo.dynamsoft.com/samples/dbr/js/3.settings/3.blurred-small-barcodes.html?utm_source=sampleReadme): Set `DeblurModes` and `ScaleUpModes` for decoding blurry or small barcodes. |
| 51 | +* [**Deformed or Incomplete codes**](https://demo.dynamsoft.com/samples/dbr/js/3.settings/4.deformed-incomplete-barcodes.html?utm_source=sampleReadme): Set `DeformationResistingModes` or `BarcodeComplementModes` for decoding deformed or incomplete barcodes. |
| 52 | +* [**Define or Detect the Region**](https://demo.dynamsoft.com/samples/dbr/js/3.settings/5.regionOfInterest-regionPredetection.html?utm_source=sampleReadme): Set the region of interest manually or `regionPredetectionModes` to speed up the barcode reading process. |
| 53 | + |
| 54 | +### Use Cases |
| 55 | + |
| 56 | +* [**Read Video and Fill a Form**](https://demo.dynamsoft.com/samples/dbr/js/4.use-case/1.fill-a-form-with-barcode-reading.html?utm_source=sampleReadme): Read barcodes to fill a form. |
| 57 | +* [**Read a Driver's License**](https://demo.dynamsoft.com/samples/dbr/js/4.use-case/2.read-a-drivers-license.html?utm_source=sampleReadme): Read the PDF417 barcode on a driver's license (AAMVA compliant) and parse it. |
| 58 | + |
| 59 | +### Others |
53 | 60 |
|
54 | | -If you have any questions, feel free to contact Dynamsoft support via [email](mailto:support@dynamsoft.com) or [live chat](https://www.dynamsoft.com/barcode-reader/overview/) via the "Let's Chat" button. |
| 61 | +* [**Debug**](https://www.dynamsoft.com/barcode-reader/programming/javascript/samples-demos/debug.html?utm_source=sampleReadme): Collect the actual image frames for debugging purposes. |
0 commit comments