Python - Windows上的imagescanner失败

时间:2016-07-01 07:20:30

标签: python windows pip image-scanner pyusb

如何在Windows中获取Python图像扫描程序?

enter image description here

出现故障:

访问扫描仪设备:

 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

0 个答案:

没有答案