TheMathemagicians/scanner/psm_test

10 lines
238 B
Bash
Executable File

#!/bin/bash
for i in $(seq 1 13); do
echo "PSM $i:" >>output
echo "Old card:" >>output
tesseract name_old.png stdout --psm "$i" >>output
echo "New card:" >>output
tesseract name_new.png stdout --psm "$i" >>output
echo >>output
done