Skip to content

Instantly share code, notes, and snippets.

@spinningcat
Created November 12, 2025 17:49
Show Gist options
  • Select an option

  • Save spinningcat/3a3b3a79d467a33e057d515ecdf54fb9 to your computer and use it in GitHub Desktop.

Select an option

Save spinningcat/3a3b3a79d467a33e057d515ecdf54fb9 to your computer and use it in GitHub Desktop.
for i in {1..49}; do [ -f "$i.jpeg" ] &&
echo "Processing $i.jpeg..." && tesseract "$i.jpeg" "$i" 2>/dev/null && echo "=== $i.txt ==="
&& cat "$i.txt" && echo -e "\n";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment