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
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
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
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
kba
84d05bd0ae
s,url,local_filename,
2024-08-23 14:01:20 +02:00
vahidrezanezhad
e3edb0ec30
update
2024-08-09 02:23:17 +02:00
Robert Sachunsky
f88ee99f3c
non-legacy namespace package
2024-05-23 21:17:38 +02:00
cneud
f09b7c1bef
use tf1 compatibility for keras backend
2024-03-19 20:29:10 +01:00
vahidrezanezhad
6018b354aa
comment unnecessary print commands
2023-11-27 17:23:34 +01:00
vahidrezanezhad
7983a65006
filtering separators in a correct way without missing them
2023-10-14 13:31:56 +02:00
vahidrezanezhad
7a70b20c77
apply missed commit # a56988a
back
2023-09-05 13:43:11 +02:00
vahidrezanezhad
0ea90b7509
Merge pull request #116 from qurator-spk/fix-typos
...
fix some typos
2023-08-18 08:23:23 -04:00
cneud
d3b06baa84
fix some typos
2023-08-18 02:52:49 +02:00
Clemens Neudecker
935332e863
test fix for keras.backend import error with Python 3.8
2023-08-17 21:45:48 +02:00
vahidrezanezhad
5f7d9a475c
Merge pull request #109 from bertsky/patch-3
...
pil_cv2.check_dpi: fix class membership test
2023-06-21 16:37:16 +02:00
Robert Sachunsky
867a7261de
pil_cv2.check_dpi: fix class membership test
...
(depending on how the `PIL.Image` was instantiated – file plugin or array interface – the previous `isinstance` could fail, provoking a fall-through to `cv2pil` which does not work)
2023-06-12 00:45:57 +02:00
Robert Sachunsky
b049e475e3
update tool json resource path_in_archive
2023-06-10 11:14:27 +02:00
Robert Sachunsky
69c1d6b3d6
Revert "Merge pull request #97 from qurator-spk/420-namespace-package"
...
This reverts commit fd56b86acf
, reversing
changes made to ea792d1e4a
.
2023-06-09 19:22:34 +02:00
vahid
0b35011847
right2left reading order detection accomplished
2023-06-01 17:30:12 +02:00
vahid
0cda1f3c7a
reading order type 1: right to left
2023-05-26 15:08:27 +02:00
vahid
b01888da31
delete printing resized image shape
2023-05-19 14:50:59 +02:00
vahid
45c40a58fc
issue #67 solved
2023-05-19 14:48:56 +02:00
cneud
6eab7a60a9
Update ocrd-tool.json
2023-05-13 12:42:05 +02:00
vahidrezanezhad
1621532092
Merge branch 'main' into eynollah_light
2023-05-09 00:46:58 +02:00
vahid
4c217018cc
textline light version -tll can not work without enabling -light option
2023-04-27 21:07:33 +02:00
vahid
d68f240b59
loading TensorFlow SavedModel format is now present
2023-04-27 17:05:21 +02:00
vahid
380f59ad67
let hybrid textline light model be loaded
2023-04-18 15:06:18 +02:00
vahidrezanezhad
29e6ad076f
renaming textline light model
2023-04-18 13:47:43 +02:00
Robert Sachunsky
529f2c0e19
set_memory_growth to all GPU devices alike
2023-04-14 20:04:34 +02:00
Robert Sachunsky
8fe3567123
set_memory_growth to all GPU devices alike
2023-04-13 19:02:41 +02:00
vahid
d3735b12f4
pushing commits 2d9ccac
and 7345f6b
into eynollah_light
2023-04-11 13:12:20 +02:00
cneud
817e5a6af9
update docstring
2023-03-31 01:32:10 +02:00
cneud
a9728bb899
Update eynollah.py
...
predict quietly please
2023-03-30 23:44:05 +02:00
Robert Sachunsky
fb6d97091b
OCR-D wrapper: expose tables param
2023-03-30 23:02:08 +02:00
Robert Sachunsky
1ac0a7e06f
try loading as TF SavedModel instead of HDF5
2023-03-30 19:12:55 +02:00
Robert Sachunsky
73057d57d1
silentium!
2023-03-30 19:04:49 +02:00
cneud
3d54719c87
fix import
2023-03-29 01:01:19 +02:00
cneud
58ca226f2d
apply some fixes from main
2023-03-29 00:54:51 +02:00
Konstantin Baierer
6c8f60993f
Merge branch 'main' into 420-namespace-package
2023-03-24 17:57:09 +01:00
Konstantin Baierer
ea792d1e4a
📦 v0.2.0
2023-03-24 14:16:55 +01:00