Implement/check page orientation
Tesseract is not particularly happy when pages are rotated, so we might want to account for that if the Tesseract OSD / PSM (mode 0) can detect orientation properly. - then we can rotate input images.
We'll have to make sure the resulting PDF and hOCR are sensible, though.