This repository demonstrates how to build RESTful APIs with Node.js for Dynamic Web TWAIN (Document Scanning), Dynamsoft Barcode Reader (Barcode Reading), Dynamsoft Label Recognizer (MRZ Recognition) and Dynamsoft Document Normalizer (Document Rectification).
nodejs-rest-endpoint-dynamsoft-sdk.mp4
-
Request a 30-day FREE trial license here for different SDKs, and then update the license keys in the
app.js
file.// Dynamic Web TWAIN let parameters = { license: "LICENSE-KEY", }; // Dynamsoft Barcode Reader barcode4nodejs.initLicense( "LICENSE-KEY", ); // Dynamsoft Label Recognizer mrz4nodejs.initLicense( "LICENSE-KEY", ); // Dynamsoft Document Normalizer docrectifier4nodejs.initLicense( "LICENSE-KEY", );
-
Install Dynamsoft service for Dynamic Web TWAIN:
-
Run the app:
npm install npm start
The following API endpoints can empower low-code platforms.
/dynamsoft/dbr/DecodeBarcode/base64
- Decodes barcodes from a base64 encoded image./dynamsoft/dlr/DetectMrz/base64
- Detects Machine Readable Zones (MRZ) in a base64 encoded image./dynamsoft/ddn/rectifyDocument/base64
- Rectifies document images from a base64 encoded input.