Commit graph

184 commits

Author SHA1 Message Date
kba
ac2958edb1 separate_lines.separate_lines_vertical_cont: remove unused args 2024-08-23 21:25:37 +02:00
kba
9109e88d50 wip typing 2024-08-23 21:22:29 +02:00
kba
a5b178e1d1 remove dead code (found with vulture) 2024-08-23 21:11:48 +02:00
kba
9ee9c4403b introduce self.batch_processing_mode to clarify when data is read from dir_in 2024-08-23 21:04:23 +02:00
kba
532ee6fe41 rfct: introduce EynollahDirs to reduce self.dir_* proliferation 2024-08-23 21:03:37 +02:00
kba
762a7a058e adapt to one-arg start_new_session_and_model and rename load_model 2024-08-23 20:32:31 +02:00
kba
8c4bfa229f rfct: move all tensorflow/keras imports and hacks to utils.tf 2024-08-23 20:10:49 +02:00
kba
b15b1bdcd5 rfct: remove unused _old method 2024-08-23 19:59:12 +02:00
kba
2c9727f9c9 move keras-specific classes to utils.keras, clean up imports 2024-08-23 19:53:04 +02:00
kba
d6a72709a1 remove unused image_filename_stem kwarg 2024-08-23 18:53:28 +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
Konstantin Baierer
8e894e5b7b Merge remote-tracking branch 'bertsky/savedmodel-format' 2023-03-24 14:12:53 +01:00