Commit Graph

426 Commits (5f7d9a475cf59dd98166855b094a3d9b333bac16)
 

Author SHA1 Message Date
vahid 9f64110513 README is updated
vahid b3b49272a5 README is updated
vahid c67e155431 table detection completed, enhanced images can be now written to output
vahid a5c940705a tables are integrated
vahid 80b17af40c fixed
Konstantin Baierer d784202ae1 📦 v0.0.7
Konstantin Baierer 6b810eb682 Merge remote-tracking branch 'vahidrezanezhad/main' into main
vahid 4560738427 fixed
Konstantin Baierer efc146feb8 📦 v0.0.6
vahid becb0c1329 trivial
vahid 059905c9e4 empty textlines caused by newer python-opencv, is resolved
vahid d1330ffb80 resolved
Konstantin Baierer 80795c9e6c 📦 v0.0.5
vahidrezanezhad e6ee02c148
Merge pull request from qurator-spk/ocrd-noae
OCR-D CLI: remove allow_enhancement parameter
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.
Konstantin Baierer 5d2fe79822 📦 v0.0.4
vahid 43c9302390 fixed and separators are also written in xml
Konstantin Baierer fce7cdfd8b 📦 v0.0.3
vahid aa2e91641a Merge branch 'main' of https://github.com/qurator-spk/eynollah into main
vahid 799a7c7632 fixed
vahidrezanezhad c88865e983
Update CHANGELOG.md
Konstantin Baierer 26283c6a3b 📦 v0.0.2
vahid c4b2c71e68 resolving issue https://github.com/qurator-spk/eynollah/issues/38
vahid 7cbecadccc adding the binarization model and option to binarize input document for the cases like dark, stronly bright and other ones
vahid 44dad6a072 strong erosion, more modification
Konstantin Baierer 78d29f34c1
Merge pull request from mikegerber/fix/ocrd-core-req
🐛 Fix ocrd core requirement
Gerber, Mike 70e7316907 🐛 Fix ocrd core requirement
eynollah requires at ocrd >= 2.22.0 for the resource resolving code,
otherwise it fails with an AttributeError. Fix this by bumping up the
requirement.

I bumped it to 2.23.3 so core *also* includes the latest model resource
for eynollah.
vahidrezanezhad 176c7531ab
Update eynollah.py
vahid f8cc048c76 Merge branch 'main' of https://github.com/qurator-spk/eynollah into main
vahid c051e22432 fixing again the error raised because of erosion
Konstantin Baierer 12f5b2982c 📦 v0.0.1
vahidrezanezhad d5be8aece3
Merge pull request from qurator-spk/ocrd-cli
Ocrd cli
Konstantin Baierer 6c8852eb04 check_dpi: catch Pillow choking on faulty img, return 230
Konstantin Baierer ff265eee5c cv2pil: do COLOR_BGR2RGB conversion
Konstantin Baierer c7f304dcb6 ocrd processor: pass local filename as image_filename, ht @bertsky
Konstantin Baierer d0b0e23ac6 do DPI calculation as part of caching images
Konstantin Baierer ae0b4a825a ocrd cli: catch dpi == 1, return 230
Konstantin Baierer 2e8a3e3bee use Page.imageFilename directly for accurate DPI estimate
Konstantin Baierer 42ccb4711d
Update qurator/eynollah/ocrd-tool.json
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
vahid 1184d3d2fc issue raised by Clemens, strong erosion causing
Konstantin Baierer 4897cefdb7 allow passing PIL image to Eynollah w/o disk I/O
Konstantin Baierer ba561ec833 Merge branch 'ocrd-cli' of github.com:qurator-spk/eynollah into ocrd-cli
Konstantin Baierer d40c453dad
check_dpi: raise exception if resolution == 1 to trigger except clause
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
Konstantin Baierer b11558cd4d Merge branch 'ocrd-cli' of github.com:qurator-spk/eynollah into ocrd-cli
Konstantin Baierer 1367f82605
improve ocrd-tool descriptions
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
vahidrezanezhad 037210b292
update writer.py
Konstantin Baierer 8f7cf5d1fb setup.py: include json data
Konstantin Baierer 5e260eb448 setup.py: include json data
Konstantin Baierer b8d818ede1 writer: don't create empty PcGts at init
Konstantin Baierer 8c4e9b6068 allow passing pcgts to eynollah and writer