Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Online Document Scanning with Django and Dynamic Web TWAIN

This sample demonstrates how to use Dynamic Web TWAIN and Django to create a straightforward online document scanning application in just a few lines of code.

Prerequisites

How to Run This Sample

  1. Configure the static files in djangodwt/settings.py:

    STATIC_URL = '/static/'
    
    STATICFILES_DIRS = [
        os.path.join(BASE_DIR, "../../sdk")
    ]
  2. Insert the license key in index.html:

    Dynamsoft.DWT.ProductKey = 'LICENSE-KEY';
  3. Execute the following commands to run the project:

    python manage.py makemigrations
    python manage.py migrate --run-syncdb
    python manage.py runserver
  4. Open a web browser and navigate to http://127.0.0.1:8000.

    Web document scan by Python Django

Blog

Online Document Scanning Using Python Django and Dynamic Web TWAIN