Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for f in *.pdf
- do
- echo "converting "$f"\n"
- convert -density 600 $f /tmp/$f
- tesseract /tmp/$f $f.txt
- rm /tmp/$f
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement