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