Commit graph

159 commits

Author SHA1 Message Date
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
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
Konstantin Baierer
7cd07dd550 use PEP420 style qurator namespace 2023-03-22 16:19:00 +01:00
Konstantin Baierer
71d0ec8dfe 📦 v0.1.0 2023-03-22 14:21:53 +01:00
Robert Sachunsky
875e4fe32b log number of detected regions 2023-02-16 20:17:42 +00:00
Robert Sachunsky
318ea6acca OCR-D wrapper: expose tables param 2023-02-16 20:17:42 +00:00
Robert Sachunsky
23f0c0b40a ocrd-tool: replace by persistent model URL 2023-02-16 20:17:42 +00:00
Robert Sachunsky
5c26bdf402 ocrd-tool: add model archive to resmgr resources 2023-02-16 20:17:42 +00:00
Robert Sachunsky
7345f6bf67 remove TF1 session and GC controls, avoid repeating load_model 2023-02-16 20:17:42 +00:00
Robert Sachunsky
a56988a35a contours: numpy now needs dtype=object 2023-02-16 20:17:41 +00:00
Robert Sachunsky
2d9ccac354 contours: simplify 2023-02-11 12:04:16 +00:00
Robert Sachunsky
ab4bb7cd7b silentium! 2023-02-11 11:58:40 +00:00
Robert Sachunsky
79e897d3b2 try loading as TF SavedModel instead of HDF5 2023-02-10 00:56:52 +00:00
vahid
38bf0d8740 solving issue by loading model by directory as input 2022-09-13 16:08:08 +02:00
vahid
583cdcee2c new (hybrid cnn+transformer) textline model which can accelerate to extract contour textlines faster 2022-09-13 15:07:00 +02:00
vahid
8d5079c909 issue #77 is resolved on main branch 2022-07-22 15:43:19 +02:00
vahid
402c5339ac issue #77 is resolved 2022-07-22 15:32:35 +02:00
vahid
01bfc3914d extracting page as an option 2022-05-19 12:27:01 +02:00
vahidrezanezhad
ae7c424889
Update eynollah.py 2022-05-13 11:44:45 +02:00
vahid
cd9920eea7 extracting page 2022-05-04 17:01:42 +02:00
vahid
735abc43f3 option to ignore page extraction 2022-04-28 01:14:57 +02:00
cneud
934bbd5892 cleanup 2022-04-26 12:04:27 +02:00
cneud
ecf117ca95 adapt to tf1.compat session mode in tf2 2022-04-26 11:50:20 +02:00
Clemens Neudecker
568391ec4a
require model command line option (fix #59) (#73) 2022-04-26 10:54:20 +02:00
vahid
3bbbeecfec all options are enabled for light version 2022-04-20 15:31:10 +02:00
f27ac155ae 🧹 Downgrade "Patch size" log message to debug
Fixes gh-55.
2022-04-06 14:47:40 +02:00
vahid
adf10942fa issue #55 resolved 2022-04-05 07:47:55 -04:00