Commit Graph

185 Commits (59dbffea59d12582c43b0c5db7fa20f0edad14ef)

Author SHA1 Message Date
kba 59dbffea59 remove commented out code
kba ac2958edb1 separate_lines.separate_lines_vertical_cont: remove unused args
kba 9109e88d50 wip typing
kba a5b178e1d1 remove dead code (found with vulture)
kba 9ee9c4403b introduce self.batch_processing_mode to clarify when data is read from dir_in
kba 532ee6fe41 rfct: introduce EynollahDirs to reduce self.dir_* proliferation
kba 762a7a058e adapt to one-arg start_new_session_and_model and rename load_model
kba 8c4bfa229f rfct: move all tensorflow/keras imports and hacks to utils.tf
kba b15b1bdcd5 rfct: remove unused _old method
kba 2c9727f9c9 move keras-specific classes to utils.keras, clean up imports
kba d6a72709a1 remove unused image_filename_stem kwarg
kba 9ce02a569e ocrd-tool: add "allow_enhancement" parameter
kba 4a13781ef4 class Eynollah: add typing, consistent interface in CLI and OCR-D CLI
kba 0a3f525f0a port processor to core v3
kba 84d05bd0ae s,url,local_filename,
vahidrezanezhad e3edb0ec30 update
Robert Sachunsky f88ee99f3c
non-legacy namespace package
cneud f09b7c1bef use tf1 compatibility for keras backend
vahidrezanezhad 6018b354aa comment unnecessary print commands
vahidrezanezhad 7983a65006 filtering separators in a correct way without missing them
vahidrezanezhad 7a70b20c77 apply missed commit #a56988a back
vahidrezanezhad 0ea90b7509
Merge pull request from qurator-spk/fix-typos
fix some typos
cneud d3b06baa84 fix some typos
Clemens Neudecker 935332e863
test fix for keras.backend import error with Python 3.8
vahidrezanezhad 5f7d9a475c
Merge pull request from bertsky/patch-3
pil_cv2.check_dpi: fix class membership test
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)
Robert Sachunsky b049e475e3 update tool json resource path_in_archive
Robert Sachunsky 69c1d6b3d6 Revert "Merge pull request from qurator-spk/420-namespace-package"
This reverts commit fd56b86acf, reversing
changes made to ea792d1e4a.
vahid 0b35011847 right2left reading order detection accomplished
vahid 0cda1f3c7a reading order type 1: right to left
vahid b01888da31 delete printing resized image shape
vahid 45c40a58fc issue solved
cneud 6eab7a60a9 Update ocrd-tool.json
vahidrezanezhad 1621532092
Merge branch 'main' into eynollah_light
vahid 4c217018cc textline light version -tll can not work without enabling -light option
vahid d68f240b59 loading TensorFlow SavedModel format is now present
vahid 380f59ad67 let hybrid textline light model be loaded
vahidrezanezhad 29e6ad076f
renaming textline light model
Robert Sachunsky 529f2c0e19 set_memory_growth to all GPU devices alike
Robert Sachunsky 8fe3567123
set_memory_growth to all GPU devices alike
vahid d3735b12f4 pushing commits 2d9ccac and 7345f6b into eynollah_light
cneud 817e5a6af9 update docstring
cneud a9728bb899 Update eynollah.py
predict quietly please
Robert Sachunsky fb6d97091b OCR-D wrapper: expose tables param
Robert Sachunsky 1ac0a7e06f try loading as TF SavedModel instead of HDF5
Robert Sachunsky 73057d57d1 silentium!
cneud 3d54719c87 fix import
cneud 58ca226f2d apply some fixes from main
Konstantin Baierer 6c8f60993f Merge branch 'main' into 420-namespace-package
Konstantin Baierer ea792d1e4a 📦 v0.2.0