Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 1.59 KB

README.md

File metadata and controls

59 lines (50 loc) · 1.59 KB

RPi-docscan

Offer a small service with waveshare 144 support on Raspberry Pi Zero to scan documents direct on NAS drive.

Main features:

  • support local OCR with tesseract
  • support remote OCR with OCR Space
  • support little OLED Screen
  • support pushover

Display

Installation

install all needed packages to prepare the software environtent of your Raspberry Pi:

sudo raspi-config

and enable Interface type SPI

sudo apt install python3-pip python3-pil git libatlas-base-dev sane-utils tesseract-ocr-deu imagemagick
sudo pip3 install RPi.GPIO psutil numpy netifaces spidev Pillow PyPDF2

and this tool itself:

cd /opt
sudo git clone https://github.com/Starwhooper/RPi-docscan

First configurtion

sudo cp /opt/RPi-docscan/config.json.example /opt/RPi-docscan/config.json
sudo nano /opt/RPi-status-on-OLED/config.json

This Tool used sane. Use this sources to know the right settings:

Start

add it to crontab to autostart as boot

sudo crontab -e

add line

@reboot /opt/RPi-docscan/scan.py

Update

If you already use it, feel free to update with

cd /opt/RPi-docscan
sudo git pull origin main

Hardware

Case

Case to enclosure Raspberry Pi zero ans Waveshare 1.44inch LCD HAT: https://www.printables.com/de/model/258922