Commit Graph

161 Commits (6ba5cdcc1191d3f2c7c8840de315cbeb4b2346fc)

Author SHA1 Message Date
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
Konstantin Baierer 8e894e5b7b Merge remote-tracking branch 'bertsky/savedmodel-format'
Konstantin Baierer 7cd07dd550 use PEP420 style qurator namespace
Konstantin Baierer 71d0ec8dfe 📦 v0.1.0
Robert Sachunsky 875e4fe32b log number of detected regions
Robert Sachunsky 318ea6acca OCR-D wrapper: expose tables param
Robert Sachunsky 23f0c0b40a ocrd-tool: replace by persistent model URL
Robert Sachunsky 5c26bdf402 ocrd-tool: add model archive to resmgr resources
Robert Sachunsky 7345f6bf67 remove TF1 session and GC controls, avoid repeating load_model
Robert Sachunsky a56988a35a contours: numpy now needs dtype=object
Robert Sachunsky 2d9ccac354 contours: simplify
Robert Sachunsky ab4bb7cd7b silentium!
Robert Sachunsky 79e897d3b2 try loading as TF SavedModel instead of HDF5
vahid 38bf0d8740 solving issue by loading model by directory as input
vahid 583cdcee2c new (hybrid cnn+transformer) textline model which can accelerate to extract contour textlines faster
vahid 8d5079c909 issue is resolved on main branch
vahid 402c5339ac issue is resolved
vahid 01bfc3914d extracting page as an option
vahidrezanezhad ae7c424889
Update eynollah.py
vahid cd9920eea7 extracting page
vahid 735abc43f3 option to ignore page extraction
cneud 934bbd5892 cleanup
cneud ecf117ca95 adapt to tf1.compat session mode in tf2
Clemens Neudecker 568391ec4a
require model command line option (fix ) ()
vahid 3bbbeecfec all options are enabled for light version