Metadata-Version: 2.1
Name: wia_scan
Version: 0.2.0
Summary: wia_scan 0.2.0
Author-email: Jonas Zehnder <12305646+JonasZehn@users.noreply.github.com>
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows
Requires-Dist: pywin32
Requires-Dist: keyboard
Requires-Dist: Pillow
Requires-Dist: numpy
Requires-Dist: docopt
Requires-Dist: bumpver ; extra == "dev"
Requires-Dist: pip-tools ; extra == "dev"
Project-URL: Home, https://github.com/JonasZehn/python_wia_scan
Project-URL: Source, https://github.com/JonasZehn/python_wia_scan
Provides-Extra: dev

#  wia_scan

![wia_scan](res/teaser.png)

A simple utility for using document scanners that support [Windows Image Acquisition (WIA)](https://learn.microsoft.com/en-us/windows/win32/wia/-wia-startpage) and is easy to install. If your scanner works using `Windows Fax and Scan`, there is a good chance it will work with this python script.

Use case:
*  You have a flatbed scanner and you need to scan a lot of documents, thus you don't want to use Windows Fax and Scan tool as it can introduce quite some overhead.

Alternatives: Existing WIA libraries, but to my surprise the ones I found required quite old versions of python, which I didn't want since I wanted to combine the scanning process with some modern python packages.

Everything on this page is still work in progress

## Installation
```
pip install wia_scan
```

### Alternative: From Source
Download this source and install flit uisng `pip install flit` and run the following command from the source folder
```
flit install
```

## Usage
### Command Line Interface

```
wia_scan many --callibration_file calib...
```


```
wia_scan list_devices
```

```
wia_scan single
```


```
wia_scan calibrate
```


### Library Usage - Custom Loop

```
from wia_scan import scan
```


## License
`wia_scan` is distributed under the terms of the MIT license.

