Your message dated Sun, 22 Sep 2019 19:34:18 +0000 with message-id <[email protected]> and subject line Bug#926353: fixed in python-pyocr 0.7.2-1 has caused the Debian Bug report #926353, regarding python3-pyocr: unknown Tesseract cmdline argument to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 926353: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926353 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python3-pyocr Version: 0.3.0-1 Severity: normal Dear Maintainer, experimenting a bit with OCR, i stumbled upon pyocr. Unfortunately, I cannot seem to make it work (at least with the tesseract backend), as it seems to require a different tesseract version (that uses different cmdline arguments): ~~~ $ python3 Python 3.7.3 (default, Mar 26 2019, 07:25:18) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyocr >>> import pyocr.builders >>> from PIL import Image >>> captcha=Image.open("captcha.png") >>> tools = pyocr.get_available_tools() >>> tools [<module 'pyocr.tesseract' from '/usr/lib/python3/dist-packages/pyocr/tesseract.py'>] >>> tool = tools[0] >>> txt = tool.image_to_string(captcha, builder=pyocr.builders.TextBuilder()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/pyocr/tesseract.py", line 291, in image_to_string raise TesseractError(status, errors) pyocr.tesseract.TesseractError: (1, b"Error, unknown command line argument '-psm'\n") >>> ~~~ The Cuneiform backend works nicely. -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-pyocr depends on: ii python3 3.7.3-1 ii python3-pil 5.4.1-1 Versions of packages python3-pyocr recommends: ii cuneiform 1.1.0+dfsg-7 ii tesseract-ocr 4.0.0-2 python3-pyocr suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: python-pyocr Source-Version: 0.7.2-1 We believe that the bug you reported is fixed in the latest version of python-pyocr, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Thomas Perret <[email protected]> (supplier of updated python-pyocr package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 22 Sep 2019 16:25:46 +0200 Source: python-pyocr Architecture: source Version: 0.7.2-1 Distribution: unstable Urgency: medium Maintainer: Thomas Perret <[email protected]> Changed-By: Thomas Perret <[email protected]> Closes: 886306 916776 926353 938082 Changes: python-pyocr (0.7.2-1) unstable; urgency=medium . * New maintainer by ITS (Closes: #916776) * New upstream version 0.7.2 (Closes: #886306, Closes: #926353) * debian/copyright: + fix url and GPL-3+ text and update contributors list + Move deprecated upstream metadata to copyright * debian/patches: Drop patch applied upstream * debian/control: + Update Standards-Version to 4.4.0 (no changes required) + Use debhelper-compat instead of debhelper as Build-Depends + Remove debian/compat + drop python2 package (Closes: #938082) + Add Rules-Requires-Root: no * debian/rules: Enable test suite * debian/tests: Add unittests as DEP-8 autopkgtest Checksums-Sha1: d38b3070503afcc7cda21a866061d3989ee71db7 2083 python-pyocr_0.7.2-1.dsc fdf7d77c121ce7012fea5df3e10f0e4438b6e293 63864 python-pyocr_0.7.2.orig.tar.gz 1e3cc66cc8e3e109d4512f4977d2eb7da075e945 4016 python-pyocr_0.7.2-1.debian.tar.xz e08e6f9ce26d6f7fe0cdefd801b1ee9615279823 6735 python-pyocr_0.7.2-1_amd64.buildinfo Checksums-Sha256: 9942e405ef490bcb05640f49546ff4afb0e17764214d781ac86a524458b4a0a7 2083 python-pyocr_0.7.2-1.dsc 5e06f769887bfc264066086ccb814d54908aedcfc2f1708d9ef1eeb1aa64b035 63864 python-pyocr_0.7.2.orig.tar.gz 16c9a55342a848d951e53b0e1b8449fbb57baa50015746317220817c86b4249b 4016 python-pyocr_0.7.2-1.debian.tar.xz 798422b7c9331a05c0a70722c2fcf316a8461b11ae4c0c918282b1fe0304318c 6735 python-pyocr_0.7.2-1_amd64.buildinfo Files: f567c0e77e19e2b34bcc38d50585f284 2083 python optional python-pyocr_0.7.2-1.dsc 806b2a68eb1ebb93076b0c48db3b59a9 63864 python optional python-pyocr_0.7.2.orig.tar.gz cff76ef56987ea9f575d2161efb5ea2f 4016 python optional python-pyocr_0.7.2-1.debian.tar.xz 3b20cf0f875d90be4ce469facb7663bc 6735 python optional python-pyocr_0.7.2-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl2HyhgACgkQHpU+J9Qx HljarA//bP6+OaNFk+gjHCN15r4TiIpr+2RLr6QmR5vj7zankFM74LL0nS2s8hoE H3sinazyFRQTWGJHhA3QOQdNmuYEP/zl0zCVb8gSQygYmFGUIMBwfsXKqg3uP79z o05zP645EtJQP3wVk59hG7K4Ed2kkVIWQy1fKyHXGt9yzazVqGiFJxutjWvFPUi9 2EOEcr6QNp8/7KCkE8IAaeJfRcepmk2PwKIVMXMRHywj6BUSnqoZK8JTl4ENks9e zFtI/UNT2aCKn6rKyxHTbQpDg3mtn8Jm2fdkfNAztBSKVRBr0ARM87isHfGbI9ne T2vaLF8fSlgAJ+FutF2DZ7LtgoGZr9j9UHauBJDgbCLfa1FWs8EXF31N8ENRLvP2 Lg1cBqTyYEyiL2ZVRlS7yH6yB/Za3MI6CsIKQ9Zxg3hpxtBhzXVsfrzX5UUsMC99 ohutqHAuIc4CF0Fn/vx5Z0yqJrRbqg4T3PDg0WrCi+lHTI6paQVe/UFc4ZvUtXad Va2ODxTnhpFjsQST8X5/cfyFVDUsv0RxQYaabjpFmfmVv2RIlJwUfNnkuycshgj7 YZNTHCmN0IXOBKOYvSPVWg0kxgA++NEEyfuCP8LVy0ndhsWyyOTlvc5IQmdVSYGx z9UOn45r040UoNuBKvcaAZP07zNiQfUHsamwqack7tQANWTDE/c= =b+8J -----END PGP SIGNATURE-----
--- End Message ---

