This repository contains multiple samples that demonstrate how to use Dynamsoft Lable Recognizer JavaScript Edition.
Learn how to get the basic features of the library working with plain/native JavaScript or within a framework like Angular, React or Vue, etc.
- Hello World: Minimum necessary JavaScript code to get the Lable Recognizer up and running.
- Read an Existing Image: Recognize labels using images that are stored locally, whether on mobile or desktop.
- Hello World in Angular: Recognize video stream in an Angular Application from a USB-connected or built-in camera (mobile or desktop).
- Hello World in React: Recognize video stream in a React Application from a USB-connected or built-in camera (mobile or desktop).
- Hello World in Vue 2: Recognize video stream in a Vue 2 Application from a USB-connected or built-in camera (mobile or desktop).
- Hello World in Vue 3: Recognize video stream in a Vue 3 Application from a USB-connected or built-in camera (mobile or desktop).
- Hello World in Next.js: Recognize video stream in a Next.js Application from a USB-connected or built-in camera (mobile or desktop).
- Hello World in Nuxt: Recognize video stream in a Nuxt Application from a USB-connected or built-in camera (mobile or desktop).
- Hello World in Electron: Recognize video stream in a Electron Application from a USB-connected or built-in camera (desktop only).
- Hello World in PWA: Recognize video stream in a PWA Application from a USB-connected or built-in camera (mobile or desktop).
- Hello World with RequireJS: Recognize video stream in a simple Application using RequireJS from a USB-connected or built-in camera (mobile or desktop).
- Hello World with ES6: Recognize video stream in a simple Application using ES6 from a USB-connected or built-in camera (mobile or desktop).
Use cases of the library.
-
Use Templates: In this sample, you can select a specific template and open the camera to recognize the label.
-
Read and Parse MRZ: This sample demonstrates the most popular use case of the SDK which is to read and parse the machine-readable zones (MRZ) usually found on passports, VISAs, etc.
For a more complex sample, check out the source code for the Label Recognizer Demo.
If you have any questions with these samples, feel free to submit an issue or contact us.