Module for Python. This Module will enable a user to use any flatbed scanner using python.
Project description
Flatbed-Scanner
Version : 0.0.1
Module for Python. This Module will enable a user to use any flatbed scanner using python.
Copyright (c) 2022 Hardik Shah.
Author : Hardik Shah.
GitHub : https://github.com/Hardik-26
License : GNU General Public License v3.0
Brief Description :
With this module you will be able to use your flatbed scanner using python.
This module uses PowerShell script to execute the scan command.
you can say that this module works as an API for Powershell which can comunicate with the scanner using WIA (Windows Image Acquisition).
INSTRUCTIONS-
Make sure your flatbed scanner is pluged in and ready to scan
well thats it.
HOW TO USE-
import scanny
Scan A image-
>>> scanny.StartScan("Path"( where you want your image file to be saved) , "ImageName" )
Eg- scanny.StartScan('C:\\Users\\Admin\\Desktop','TestIamge')
Calibrate the scanner-
(Optional, only for backward compatibility purposes)-
>>> scanny.Calibrate()
Get Scanner Bed Size-
>>> scanny.size()
MISC-
>>> scanny._calibration
>>> scanny._pixel_len
Other Information-
Currently this python package only works for Windows 8 & Above.
Linux and MAC-OS compatibility comming soon in next version: 0.0.2.
Thank you. ☺
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scanny-0.0.1.tar.gz.
File metadata
- Download URL: scanny-0.0.1.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.2 importlib-metadata/4.8.1 keyring/23.2.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e57830e9fb6d1bdbf6ae35665158bf24eaff980265c78710f271bf0c69bdf937
|
|
| MD5 |
665be61b1e6a10b454ce6a1af10cadc9
|
|
| BLAKE2b-256 |
02a6c8a789c55cbc68a0f17c7dae986556180222d008136885bef0ab056ccefb
|
File details
Details for the file scanny-0.0.1-py3-none-any.whl.
File metadata
- Download URL: scanny-0.0.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.2 importlib-metadata/4.8.1 keyring/23.2.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfc3fea684ae9d9c4da468834bd62f55c2372fe84346885922db51ccf45eca19
|
|
| MD5 |
ef058439288b2793c0efb5afaec8df53
|
|
| BLAKE2b-256 |
f957abf234d3a0d6e0e7b6ea1602fc492d57a978b61f2919189c19ac566b7481
|