Skip to content

yushulx/dynamsoft-sdk-web-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamsoft SDK Web Service

The sample creates web APIs for Dynamsoft SDKs including Dynamsoft Barcode Reader, Dynamsoft Document Normalizer and Dynamsoft Label Recognizer.

web-service-power-automate-desktop.mp4

Installation

pip install -r requirements.txt

Setup

  1. Apply for a trial license for Dynamsoft SDKs, and then set the license keys in app.py:

    license_key = "DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ=="
  2. Run the Flask server:

    python app.py

Usage

  • cURL commands:

    # barcode
    curl -X POST -F 'file=@./barcode.jpg' 127.0.0.1:5000/api/dbr/decode
    
    # mrz
    curl -X POST -F 'file=@./mrz.png' http://127.0.0.1:5000/api/mrz/scan
    
    # document
    curl -X POST -F 'file=@./document.png' http://127.0.0.1:5000/api/document/rectify
  • Power Automate

    Power Automate with Dynamsoft SDK service

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages