Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/starwhooper/rpi-docscan
https://github.com/starwhooper/rpi-docscan
ocr ocrspace pushover tesseract
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/starwhooper/rpi-docscan
- Owner: Starwhooper
- License: cc-by-sa-4.0
- Created: 2022-03-24T13:28:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T07:30:01.000Z (7 months ago)
- Last Synced: 2024-04-17T09:59:27.915Z (7 months ago)
- Topics: ocr, ocrspace, pushover, tesseract
- Language: Python
- Homepage:
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/Starwhooper/RPi-docscan/blob/main/examples/case.jpg)
## Installation ##
install all needed packages to prepare the software environtent of your Raspberry Pi:
```bash
sudo raspi-config
```
and enable Interface type SPI```bash
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:
```bash
cd /opt
sudo git clone https://github.com/Starwhooper/RPi-docscan
```## First configurtion ##
```bash
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:
* sane documentation: http://www.sane-project.org/man/scanimage.1.html
* get device-name via: sudo /usr/bin/scanimage -L
* get all possible setting for your device: /usr/bin/scanimage --device-name="pixma:04A9190D" -A## Start ##
add it to crontab to autostart as boot
```bash
sudo crontab -e
```
add line
```
@reboot /opt/RPi-docscan/scan.py
```## Update ##
If you already use it, feel free to update with
```bash
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