Tool to scan and process documents to palerless
Scan and prepare your document for paperless-ng
Use the scan command to import your document, to scan your documents.
The document is transferred to your NAS (I use Syncthing).
The documents will be processed on the NAS.
scan-process-statusto know the status of your documents.
Validate your documents.
If your happy with that remove the REMOVE_TO_CONTINUE file. (To restart the process remove one of the generated images, to cancel the job just remove the folder).
The process will continue his job and import the document in paperless-ng.
Double sized scanning
Pour your sheets on the Automatic Document Feeder.
scanwith the option
Press enter to start scanning the first side of all sheets.
Put again all your sheets on the Automatic Document Feeder without turning them.
The scan utils will rotate and reorder all the sheets to get a good document.
Credit card scanning
--append-credit-card will append all the sheets vertically to have the booth face of the credit card on the same page.
Do your scan as usual with the extra option
After the process do his first pass you will have images with lines and numbers. The lines represent the detected potential split of the image, the length indicate the strength of the detection. In your config you will have something like:
assisted_split: - destinations: - 4 # Page number of the left part of the image - 1 # Same for the right page of the image image: image-1.png # name of the image limits: - margin: 0 # Margin around the split name: 0 # Number visible on the generated image value: 375 # The position of the split (can be manually edited) vertical: true # Will split the image vertically - ... source: /source/975468/7-assisted-split/image-1.png - ...
Edit your config file, you should have one more destination then the limits. If you put destinatination like that: 2.1, it mean that it will be the first part of the page 2 and the 2.2 will be the second part.
Delete the file
After the process do his first pass you will have the final generated images.
If it's OK delete the file
Install in a venv in the home directory:
$ cd $ python3 -m venv venv $ ~/venv/bin/pip install scan-to-paperless $ sudo activate-global-python-argcomplete $ echo PATH=$PATH:~/venv/bin >> ~/.bashrc
The Docker support is required, Personally I use a Synology DiskStation DS918+, and you can get the *.syno.json files to configure your Docker services.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size scan_to_paperless-0.17.0-py2.py3-none-any.whl (6.2 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
Hashes for scan_to_paperless-0.17.0-py2.py3-none-any.whl