implement pdftoppm to make pdfs readable by tesseract
pdftoppm -tiff -r 300 "$pdf_in" "$temp_dir/pg"

