
Hello All, I have been scanning with "scanimage" and rotating with "convert" with a degree of success. From this I deduce that the "native" orientation of the scan is that it starts from the top, while I have tended to scan the other way. I have googled about scanning, and bothered to install "unpaper" and "tesseract-ocr". I am having a bit of trouble sorting out the l, t, x and y parameters, where they offset from and the like. I will manually initiate each scan as there is no auto feed, which would not be applicable with a magazine or book anyway, so can increment a number in the filename, although some good explanation of doing so would be appreciated. There are also a host of things with unpaper, and should someone have pointers and tips, that would be appreciated. I will then try feeding through tesseract, and any experience there would also be appreciated. If you are scanning with other software, with good results, please also comment on what you use, and why you made the choice. Regards, Mark Trickett

On 13/08/17 20:41, Mark Trickett via luv-main wrote:
I am having a bit of trouble sorting out the l, t, x and y parameters, where they offset from and the like. I will manually initiate each scan as there is no auto feed, which would not be applicable with a magazine or book anyway, so can increment a number in the filename, although some good explanation of doing so would be appreciated.
You are correct that the orientation assumed on a typical A4 scanner is potrait mode. So x is typically 210mm and y is 297mm for an A4 sheet, while l and t are the top left x and y coordinates of the scan area, typically 0. If you are thinking of it as landscape mode, it isn't as simple as just swapping these around (and will depend on what you think of as the 'top' of the scanner). No doubt you've figured out batch scanning, with something like this: scanimage --wait-for-button=yes --batch=%.4d.pnm --resolution 300 -x 210 -y 297 --batch-start=1 The 'batch' parameter sets the filename, and the batch start the initial file number (it can be useful to change the start number if you need to come back to scanning something later). Glenn -- pgp: 833A 67F6 1966 EF5F 7AF1 DFF6 75B7 5621 6D65 6D65
participants (2)
-
Glenn McIntosh
-
Mark Trickett