Pyinsane 1 3 4 修复了对 Python 3 和 ADF Automatic Document Feeder 支持的 bug Pyinsane 是 Sane API 使用ctypes 和抽象层的纯 Python 实现 支持 Python 2 7 和 3 x 要求 Pillow 和 libsane 支持 实现简单扫描的代码: 01 device options["resolution"] value 300 02 # Beware: Some scanner have "Lineart" or "Gray" as default mode 03 device options["mode"] value "Color" 04 scan instance device scan multiple False 05 try: 06 while True: 07 scan instance read 08 except EOFError: 09 pass 10 image scan instance get img ">Pyinsane 1 3 4 修复了对 Python 3 和 ADF Automatic Document Feeder 支持的 bug Pyinsane 是 Sane API 使用ctypes 和抽象层的纯 Python 实现 支持 Python 2 7 和 3 x 要求 Pillow 和 libsane 支持 实现简单扫描的代码: 01 device options["resolution" [更多]













- 粉丝: 250
- 资源: 246

我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
已下载
下载帮助

