- #!/bin/bash
- if [ -r "$1" ]; then
- convert "$1" pnm:- | gocr - -
- else
- echo "Potřebuju název fajlu"
- exit 1
- fi
kredit ocr
From chytrex, 6 Years ago, written in Plain Text, viewed 116 times.
URL https://pastebin.chytrex.cz/view/4aa6090e
Shorturl http://bit.ly/2F2t2fl
Embed
Download Paste or View Raw
— Expand Paste to full width of browser