Dynamsoft OCR RESTful API
Use the module to invoke Dynamsoft OCR RESTful API.
Getting Started
-
Createa a Dynamsoft account and generate the API key.
-
Initialize the module:
var DDC = ;var key = '' // get the API key from https://cloud.dynamsoft.com/ocr/ocr-api-key-settings.aspxvar ddc = key; -
Call a method.
ddc;
API List
- queryQuota(function(error, response, body) {})
- queryDisk(function(error, response, body) {})
- uploadFile(fileName, filePath, function(error, response, body) {})
- doOCR(data, function(error, response, body) {})"list":"file_name":"1.jpg""file_name":"2.jpg" // data
- downloadFile(fileName, function(error, response, body) {})
- deleteFile(fileName, function(error, response, body) {})
- deleteMultiFiles(data, function(error, response, body) {})"list":"file_name":"1.jpg""file_name":"2.jpg" // data