Done! Through Twain interface
Python 3.8.2
Install the twain module from https://www.lfd.uci.edu/~gohlke/pythonlibs/#twainmodule
Python code:
import twain
sm = twain.SourceManager(0)
ss = sm.OpenSource("Epson Perfection V19")
ss.RequestAcquire(0,0)
rv = ss.XferImageNatively()
if rv:
(handle, count) = rv
twain.DIBToBMFile(handle, 'scan_01.bmp')
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…