Wrapper to pytesseract to preserve space and formatting
Project description
OCR_with_format
- simple wrapper that postprocesses pytesseract's hOCR output to maintain format and spacings.
How to
- install
python -m pip install OCR_with_format
- see usage
python -m OCR_with_format --help
Example
- Image:
- output from
python ./__init__.py ./screenshot.png --thresholding_method="all" --quiet
@Unwateh (1) ~ Fork (3) (©
OCR_with_format [ Pir ][ | [ & <) [ s -]
About
&
Wrapper around pytesseract to
¥ Branches © Tags postprocess in a way that preserves
spacing and formattings.
i thiswillbeyourgithub addded license 10 minutes ago O 4
&5 GPL-3.0 license
@ LICENSE addded license 10 minutes ago - Activity
[u] __init__.py minor 11 minutes ago ¢ Ostars
[u] requirements.txt added empty requirements 11 minutes ago <& 1 watching
Y Oforks
Help people interested in this repository understand your project by
adding a README. Releases
Create No releases a new published release
Packages
No packages published
Publish your first package
Languages
———
® Python 100.0%
- output from
python ./__init__.py ./screenshot.png --quiet --comparison_run
*
OCR_with_format
[ pin | [ @unwateh (@) ~ | [ & Fork (O)
-] [ ¢ s (0
¥ main ~
¥ Branches © Tags
Wrapper around pytesseract to
postprocess in a way that preserves
. . . spacing and formattings.
- thiswillbeyourgithub addded license 10 minutes ago 'O 4
&5 GPL-3.0 license
@ LICENSE addded license 10 minutes ago A Activity
0O _init__py minor 11 minutes ago ¢ Ostars
O requirements.txt added empty requirements 11 minutes ago | @ 1watching
% 0forks
Help people interested in this repository understand your project by
adding a README. Releases
No releases published
Create a new release
Packages
No packages published
Publish your first package
Languages
————
@ Python 100.0%
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
OCR_with_format-0.2.tar.gz
(43.6 kB
view hashes)
Built Distribution
Close
Hashes for OCR_with_format-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ebc290366c6ad61259bc25bda38887378fc42b8e5de60a1a28ede40f6e2f5f9 |
|
MD5 | 1a806d1b6648a1236cd77df716c9c5a5 |
|
BLAKE2b-256 | 6871c5de06d1b12af31d0b50f4fe8ccdde7ffe5a9ca2c40a4c69f93eea0239ab |