#!/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