$ convert *.jpg pictures.pdf
$ ocrmypdf pictures.pdf scanned.pdf
$ pdftotext scanned.pdf scanned.txt
$ wc -w scanned.txt
$ ocrmypdf pictures.pdf scanned.pdf
$ pdftotext scanned.pdf scanned.txt
$ wc -w scanned.txt
https://unix.stackexchange.com/questions/377359/how-to-use-ocr-from-the-command-line-in-linux
Kommentit
Lähetä kommentti