Pyisae是SaeAPI(使用ctypes)和抽象层的纯Pytho实现。支持Pytho2.7和3.x,要求Pillow和libsae支持。
实现简单扫描的代码:
device.optios['resolutio'].value=300#Beware:Somescaerhave"Lieart"or"Gray"asdefaultmodedevice.optios['mode'].value='Color'sca_istace=device.sca(multiple=False)try:whileTrue:sca_istace.read()exceptEOFError:passimage=sca_istace.get_img()






评论