Konstantin Baierer

Results 279 comments of Konstantin Baierer
trafficstars

> https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#621-2019-10-21 Should we update to 6.2.1 then? Do you have a sample for me to test? Thanks!

It's doable. Related to #378 #323 and #176

To clarify: For a PAGE URL `https://remote/page.xml`, you want to download the PAGE-XML and then resolve the `Page/@imageFilename` / `AlternativeImage/@filename` references by prepending `http://remote` to the file paths?

> The reason to introduce this was to have a short-cut to silence logging from all 3rd-party-libs ocrd uses ... ? The reason for doing this was to prevent libraries...

> It is possible to integrate tensowflow into the default logging conf file? We should probably mirror the builtin defaults to the logging.conf, i.e. ``` logging.getLogger('').setLevel(logging.INFO) # logging.getLogger('ocrd.resolver').setLevel(logging.INFO) # logging.getLogger('ocrd.resolver.download_to_directory').setLevel(logging.INFO)...

> Yes, something similar to what `git status -u` does! And perhaps also support `ocrd workspace clean -df` that removes files/folders in the file system that are not referenced in...

> This will conflict with #652 (where that part of run_processor is delegated to the new run_api) – not sure what's the least painful way for merging. Is that just...

It would not be a huge effort to implement this, I'll have a go at it once time permits. PR welcome :)

See https://github.com/OCR-D/core/pull/581/files#diff-68b95183e452cd1438e45abf6eba00d7 on how a test looks like that makes use of pytest/unittest features.

further discussion in https://github.com/bertsky/core/pull/2