Commit Graph

206 Commits (70772d41042df2415a0918d99f51cb183db36fe5)

Author SHA1 Message Date
vahid 0cda1f3c7a reading order type 1: right to left 2 years ago
vahid b01888da31 delete printing resized image shape 2 years ago
vahid 45c40a58fc issue #67 solved 2 years ago
cneud 6eab7a60a9 Update ocrd-tool.json 2 years ago
vahidrezanezhad 1621532092
Merge branch 'main' into eynollah_light 2 years ago
vahid 4c217018cc textline light version -tll can not work without enabling -light option 2 years ago
vahid d68f240b59 loading TensorFlow SavedModel format is now present 2 years ago
vahid 380f59ad67 let hybrid textline light model be loaded 2 years ago
vahidrezanezhad 29e6ad076f
renaming textline light model 2 years ago
Robert Sachunsky 529f2c0e19 set_memory_growth to all GPU devices alike 2 years ago
Robert Sachunsky 8fe3567123
set_memory_growth to all GPU devices alike 2 years ago
vahid d3735b12f4 pushing commits 2d9ccac and 7345f6b into eynollah_light 2 years ago
cneud 817e5a6af9 update docstring 2 years ago
cneud a9728bb899 Update eynollah.py
predict quietly please
2 years ago
Robert Sachunsky fb6d97091b OCR-D wrapper: expose tables param 2 years ago
Robert Sachunsky 1ac0a7e06f try loading as TF SavedModel instead of HDF5 2 years ago
Robert Sachunsky 73057d57d1 silentium! 2 years ago
cneud 3d54719c87 fix import 2 years ago
cneud 58ca226f2d apply some fixes from main 2 years ago
Konstantin Baierer 6c8f60993f Merge branch 'main' into 420-namespace-package 2 years ago
Konstantin Baierer ea792d1e4a 📦 v0.2.0 2 years ago
Konstantin Baierer 8e894e5b7b Merge remote-tracking branch 'bertsky/savedmodel-format' 2 years ago
Konstantin Baierer 7cd07dd550 use PEP420 style qurator namespace 2 years ago
Konstantin Baierer 71d0ec8dfe 📦 v0.1.0 2 years ago
Robert Sachunsky 875e4fe32b log number of detected regions 2 years ago
Robert Sachunsky 318ea6acca OCR-D wrapper: expose tables param 2 years ago
Robert Sachunsky 23f0c0b40a ocrd-tool: replace by persistent model URL 2 years ago
Robert Sachunsky 5c26bdf402 ocrd-tool: add model archive to resmgr resources 2 years ago
Robert Sachunsky 7345f6bf67 remove TF1 session and GC controls, avoid repeating load_model 2 years ago
Robert Sachunsky a56988a35a contours: numpy now needs dtype=object 2 years ago
Robert Sachunsky 2d9ccac354 contours: simplify 2 years ago
Robert Sachunsky ab4bb7cd7b silentium! 2 years ago
Robert Sachunsky 79e897d3b2 try loading as TF SavedModel instead of HDF5 2 years ago
vahid 38bf0d8740 solving issue by loading model by directory as input 2 years ago
vahid 583cdcee2c new (hybrid cnn+transformer) textline model which can accelerate to extract contour textlines faster 2 years ago
vahid 8d5079c909 issue #77 is resolved on main branch 2 years ago
vahid 402c5339ac issue #77 is resolved 2 years ago
vahid 01bfc3914d extracting page as an option 3 years ago
vahidrezanezhad ae7c424889
Update eynollah.py 3 years ago
vahid cd9920eea7 extracting page 3 years ago
vahid 735abc43f3 option to ignore page extraction 3 years ago
cneud 934bbd5892 cleanup 3 years ago
cneud ecf117ca95 adapt to tf1.compat session mode in tf2 3 years ago
Clemens Neudecker 568391ec4a
require model command line option (fix #59) (#73) 3 years ago
vahid 3bbbeecfec all options are enabled for light version 3 years ago
Gerber, Mike f27ac155ae 🧹 Downgrade "Patch size" log message to debug
Fixes gh-55.
3 years ago
vahid adf10942fa issue #55 resolved 3 years ago
vahid 2eacb9a8ec renaming the models 3 years ago
vahid c606391c31 flow from directory 3 years ago
vahid cf5ef8f5ae light version as option 3 years ago
vahidrezanezhad b8a532180a light version integration 3 years ago
vahidrezanezhad 10f1acef29
Merge pull request #65 from mikegerber/fix/enhanced-message
Fix/enhanced message
3 years ago
vahidrezanezhad c30d4d5c30
Merge pull request #64 from mikegerber/feat/better-time-msgs
💄 Improve timing messages (Fixes #62)
3 years ago
Gerber, Mike 11d9b00510 🧹 Don't produce spurious TextEquiv elements.
eynollah produces spurious - and empy - pcGts TextEquiv elements. This
is a. unnecessary, b. wrong and c. produces a lot of warning messages
in subsequent OCR processing steps because the OCR processor warns
about already existing text.

Fix this by not generating any TextEquiv elements.

Fixes gh-37.
3 years ago
Gerber, Mike 1fe8f92afc 🐛 Clarify message if an image was enhanced 3 years ago
Gerber, Mike 7ccd7663e1 💄 Improve more timing messages 3 years ago
Gerber, Mike cdea0acffe 💄 Improve timing messages (Fixes #62) 3 years ago
Konstantin Baierer f0ac0bb090 📦 v0.0.11 3 years ago
Konstantin Baierer d75803b11d ocrd-tool: "models" parameter is a directory 3 years ago
Konstantin Baierer e769f625fe 📦 v0.0.10 3 years ago
Konstantin Baierer 09d85bee87 Merge remote-tracking branch 'vahidrezanezhad/main' into main 3 years ago
vahidrezanezhad 169b50aaaf fixed: empty page error due None table contours 3 years ago
Konstantin Baierer 0e63ebcbe5 📦 v0.0.9 3 years ago
Konstantin Baierer 4223fed628 Merge remote-tracking branch 'vahidrezanezhad/main' into main 3 years ago
Konstantin Baierer e7868b9851 📦 v0.0.8 3 years ago
Konstantin Baierer 5124a60527 set pcGtsId before adding file to mets 3 years ago
vahid 0859d22f4c modifications 3 years ago
vahid 14c588e162 resolving an issue 3 years ago
vahid 254abf4d3d more modifications for tables 3 years ago
vahid b3b49272a5 README is updated 4 years ago
vahid c67e155431 table detection completed, enhanced images can be now written to output 4 years ago
vahid a5c940705a tables are integrated 4 years ago
vahid 80b17af40c #47 fixed 4 years ago
Konstantin Baierer d784202ae1 📦 v0.0.7 4 years ago
Konstantin Baierer 6b810eb682 Merge remote-tracking branch 'vahidrezanezhad/main' into main 4 years ago
vahid 4560738427 #45 fixed 4 years ago
Konstantin Baierer efc146feb8 📦 v0.0.6 4 years ago
vahid becb0c1329 trivial 4 years ago
vahid 059905c9e4 #43 empty textlines caused by newer python-opencv, is resolved 4 years ago
vahid d1330ffb80 #43 resolved 4 years ago
Konstantin Baierer 80795c9e6c 📦 v0.0.5 4 years ago
Konstantin Baierer 45939abdff OCR-D CLI: remove allow_enhancement parameter
It does not toggle enhancement (eynollah does that internally anyway)
but setting it to true will base the coordinate calculations on that
enhanced (different-sized) image instead of the original. That is never
sensible in the OCR-D context.
4 years ago
Konstantin Baierer 5d2fe79822 📦 v0.0.4 4 years ago
vahid 43c9302390 fixed #40 and separators are also written in xml 4 years ago
Konstantin Baierer fce7cdfd8b 📦 v0.0.3 4 years ago
vahid aa2e91641a Merge branch 'main' of https://github.com/qurator-spk/eynollah into main 4 years ago
vahid 799a7c7632 fixed #38 4 years ago
Konstantin Baierer 26283c6a3b 📦 v0.0.2 4 years ago
vahid c4b2c71e68 resolving issue https://github.com/qurator-spk/eynollah/issues/38 4 years ago
vahid 7cbecadccc adding the binarization model and option to binarize input document for the cases like dark, stronly bright and other ones 4 years ago
vahid 44dad6a072 strong erosion, more modification 4 years ago
vahidrezanezhad 176c7531ab
Update eynollah.py 4 years ago
vahid c051e22432 fixing again the error raised because of erosion 4 years ago
vahidrezanezhad d5be8aece3
Merge pull request #33 from qurator-spk/ocrd-cli
Ocrd cli
4 years ago
Konstantin Baierer 6c8852eb04 check_dpi: catch Pillow choking on faulty img, return 230 4 years ago
Konstantin Baierer ff265eee5c cv2pil: do COLOR_BGR2RGB conversion 4 years ago
Konstantin Baierer c7f304dcb6 ocrd processor: pass local filename as image_filename, ht @bertsky 4 years ago
Konstantin Baierer d0b0e23ac6 do DPI calculation as part of caching images 4 years ago
Konstantin Baierer ae0b4a825a ocrd cli: catch dpi == 1, return 230 4 years ago
Konstantin Baierer 2e8a3e3bee use Page.imageFilename directly for accurate DPI estimate 4 years ago