Conversation
Exactly. Textract uses floating point ratios (0..1) for all coordinates. So even if we could live with empty or bogus (BTW, gcv__hocr is another case which needs width and height, but apparently it cannot derive these from the image file, so I just added width and height as script-args there.) |
|
Thank you! |
|
I just noticed that this PR and also a previous commit ff11c35 require a virtual environment because of |
Indeed. I did not notice either. I would leave it to the user to set up a venv or virtualenv or conda environment though. So we would only need a few remarks in the readme IMO. |
|
On the other hand, we already make users set up a |
In contrast to all existing transformations, https://github.com/slub/textract2page MUST know the image file, so I also tried to make it easier for the user to know what
script-argsare possible/expected:example calls for `--help-args`