scan.py is a Python script that interfaces with a scanner using the Windows Image Acquisition (WIA) library to scan an image and save it to a specified directory. This script utilizes the win32com.client library to interact with WIA and perform the scanning operation.
Before using this script, ensure you have the following installed:
- Python 3.x
pywin32library (forwin32com.client)
You can install pywin32 using pip:
pip install pywin32