Commit graph

728 commits

Author SHA1 Message Date
vahidrezanezhad
0f87974b0c writing drop capitals in xml output + and may resolve issue #110 2024-09-02 16:21:07 +02:00
kba
c6e0e058d0 Merge branch 'main' into v3-api
# Conflicts:
#	pyproject.toml
#	src/eynollah/cli.py
2024-09-02 14:53:37 +02:00
kba
fdedae2406 require ocrd>=3.0.0b4 2024-09-02 11:47:57 +02:00
kba
f9c2d85dd7 Merge branch 'main' into v3-api 2024-09-02 11:46:56 +02:00
Konstantin Baierer
9b274dcc20
Merge pull request #134 from bertsky/v3-api
OCR-D v3 API: fixes
2024-09-02 11:46:33 +02:00
Robert Sachunsky
17eafc1ccb adapt tool json to v3 2024-09-01 10:15:31 +02:00
Robert Sachunsky
1e902571ea undo customizing metadata_filename (not correct with namespace pkg support in core) 2024-09-01 10:15:11 +02:00
Robert Sachunsky
dfc4ac2538 setuptools: fix (packages.find.where prevented finding namespace qurator) 2024-08-30 22:46:51 +02:00
Clemens Neudecker
256a7c347f
Merge pull request #133 from qurator-spk/src-layout
Merging package src layout as agreed per meeting today.
2024-08-29 23:13:37 +02:00
kba
84b844203d switch from qurator namespace to src-layout 2024-08-29 17:11:29 +02:00
kba
9367f86483 remove setup.py stub completely 2024-08-29 17:06:39 +02:00
vahidrezanezhad
93005959e5 inference batch size debugged 2024-08-27 18:13:46 +02:00
kba
62314c453c fully transition to pyproject 2024-08-27 15:04:57 +02:00
kba
a5c7f223d1 📦 v0.3.1 2024-08-27 14:59:13 +02:00
kba
9ae0575436 📝 changelog 2024-08-27 14:52:01 +02:00
vahidrezanezhad
7ae6a8776f ignoring dpi check by light version 2024-08-26 16:02:10 +02:00
kba
aef46a4669 require ocrd >= 3.0.0b1 2024-08-26 11:31:13 +02:00
Konstantin Baierer
7b92620a10
processor: no more DPI info lost
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
2024-08-26 10:45:53 +02:00
kba
d26079db85 procesor.py: simplify imports further 2024-08-26 10:40:15 +02:00
Konstantin Baierer
ecd202ea4c
processor.py: Simplify import
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
2024-08-26 10:39:22 +02:00
Robert Sachunsky
d98fa2a85b check_dpi: fix Pillow type detection 2024-08-24 19:10:35 +02:00
Robert Sachunsky
61bcb435ae processor: reuse loaded models across pages, use derived images
# Conflicts:
#	qurator/eynollah/processor.py
2024-08-24 19:09:20 +02:00
Robert Sachunsky
c37d95dedf non-legacy namespace package
# Conflicts:
#	setup.py
2024-08-24 19:01:03 +02:00
Robert Sachunsky
49c1a8f384 fix namespace pkg setup 2024-08-24 19:00:15 +02:00
Robert Sachunsky
3381e5a015 adapt to OcrdFile.local_filename now :Path
# Conflicts:
#	qurator/eynollah/processor.py
2024-08-24 18:58:05 +02:00
Robert Sachunsky
8dfecb70d4 adapt to ocrd>=2.54 url vs local_filename
# Conflicts:
#	qurator/eynollah/processor.py
2024-08-24 18:57:19 +02:00
kba
d7caeb2b05 ocrd interface: add ignore_page_extraction 2024-08-24 18:11:15 +02:00
kba
ddcc0198bd ocrd interface: add right_to_left 2024-08-24 18:05:21 +02:00
kba
39b16e5978 ocrd interface: add textline_light 2024-08-24 18:04:38 +02:00
kba
87adc4b0c6 ocrd interface: add light_mode parameter 2024-08-24 16:51:52 +02:00
kba
0d83db7bc4 update processor to the latest change in bertsky/core#14 2024-08-24 16:46:25 +02:00
vahidrezanezhad
04e79002b3 making light version faster for 1 and 2 columns images 2024-08-24 12:54:19 +02:00
kba
9ce02a569e ocrd-tool: add "allow_enhancement" parameter 2024-08-23 18:32:59 +02:00
kba
4a13781ef4 class Eynollah: add typing, consistent interface in CLI and OCR-D CLI 2024-08-23 18:32:29 +02:00
kba
0a3f525f0a port processor to core v3 2024-08-23 18:22:25 +02:00
Clemens Neudecker
78bfa97c06
Merge pull request #129 from qurator-spk/resolving_issue_106
fix OCR-D regression
2024-08-23 14:10:26 +02:00
kba
84d05bd0ae s,url,local_filename, 2024-08-23 14:01:20 +02:00
vahidrezanezhad
c10a525675 inference with batch size bigger than 1 2024-08-23 02:18:16 +02:00
cneud
7f99526b9d update Makefile model location 2024-08-15 23:59:18 +02:00
cneud
4f8210de71 update Makefile model location 2024-08-15 23:23:48 +02:00
vahidrezanezhad
6f4205ba49 update pyproject.toml 2024-08-15 16:08:45 +02:00
vahidrezanezhad
74eac4dacc dtype = object in the case of length 1 arise error 2024-08-15 13:50:36 +02:00
cneud
8f76966394 update pyproject.toml for v0.3.1 2024-08-14 19:51:48 +02:00
cneud
28ee1e527e update pyproject.toml for v0.3.1 2024-08-14 19:50:57 +02:00
vahidrezanezhad
4c50479cb8 pyproject.toml may work for ocrd 2024-08-14 15:28:36 +02:00
vahidrezanezhad
53fd5fb2a5 resolving #106 for pyproject.toml test 2024-08-14 14:42:37 +02:00
vahidrezanezhad
e976778796 testing pyproject.toml 2024-08-14 14:33:01 +02:00
Clemens Neudecker
23ac58405c
update pyproject.toml 2024-08-13 21:47:32 +02:00
vahidrezanezhad
e3edb0ec30 update 2024-08-09 02:23:17 +02:00
vahidrezanezhad
8e2cdad1be extracting images only - avoid artifacts with heuristics 2024-08-07 23:22:27 +02:00