The python-imagescanner (old pyscanning) implements an abstraction layer which allows users to scan images/documents from Linux or Windows without the need of write any specific Python code for each one of them