Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Scan Document and Read Barcode with Qt Web Engine and Python

This desktop application, developed with Qt and Python, leverages Dynamic Web TWAIN and Dynamsoft Barcode Reader to implement document scanning and barcode recognition.

Prerequisites

Dynamic Web TWAIN License

Dynamsoft Barcode Reader License

Installation

pip install -r requirements.txt
npm install

Usage

  1. Set the Dynamic Web TWAIN license key in the index.html file:

    JavaScript

    Dynamsoft.DWT.ProductKey = "LICENSE-KEY";

    Python

    reader.init_license('LICENSE-KEY')
  2. Set the Dynamsoft Barcode Reader license key in the app.py file:

    reader.init_license('LICENSE-KEY')
  3. Run the application:

    python app.py

    Qt application: document scanning and barcode recognition

Windows Virtual Scanner

If you don't have a physical scanner, you can use the https://github.com/yushulx/windows-virtual-scanner to build and install a virtual scanner, allowing you to scan custom image sets.

Blog

Building a Document Scanning and Barcode Recognition Application with Qt Python