Member-only story
How to Scan Documents from TWAIN, WIA, SANE Compatible Scanners in Python
Dynamsoft Service streamlines document scanner programming for developers by providing a unified REST API that works with TWAIN, WIA, eSCL, SANE and ICA drivers. We have previously released a Node.js package and a Flutter plugin to interact with Dynamsoft Service’s REST API. In this article, we will extend this convenience to Python development.
Python Package
pip install twain-wia-sane-scanner
Prerequisites
- Install Dynamsoft Service.
- Windows: Dynamsoft-Service-Setup.msi
- macOS: Dynamsoft-Service-Setup.pkg
- Linux:
Dynamsoft-Service-Setup-arm64.deb
Dynamsoft-Service-Setup-mips64el.deb
2. Request a free trial license.
Building a Python Package for Acquiring Document Images
A Python package primarily consists of two files: __init__.py
and setup.py
.