如何在Windows中获取Python图像扫描程序?
出现故障:
访问扫描仪设备:
from imagescanner import ImageScanner
# instantiate the imagescanner obj
iscanner = ImageScanner()
# get all available devices
scanners = iscanner.list_scanners()
# choose one of the devices
scanner = scanners[0]
# scan your file (returns a PIL object)
scanner.scan()
参考:https://code.google.com/archive/p/imagescanner/wikis/GettingStarted.wiki