Advertisement
theitd

Command Line OCR

May 26th, 2021 (edited)
802
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. sudo apt-get install ocrmypdf
  2. sudo apt-get install tree
  3.  
  4. tree -fai . | grep -P ".pdf$" | grep -v "pdf_ocr" | xargs -L1 -I {}  ocrmypdf -rdi {} {}_ocr.pdf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement