Commit Graph

453 Commits (f88ee99f3c8aea2772abdfef6b8cbc919682a794)
 

Author SHA1 Message Date
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
Konstantin Baierer 78d29f34c1
Merge pull request #36 from mikegerber/fix/ocrd-core-req
🐛 Fix ocrd core requirement
4 years ago
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.
4 years ago
vahidrezanezhad 176c7531ab
Update eynollah.py 4 years ago
vahid f8cc048c76 Merge branch 'main' of https://github.com/qurator-spk/eynollah into main 4 years ago
vahid c051e22432 fixing again the error raised because of erosion 4 years ago
Konstantin Baierer 12f5b2982c 📦 v0.0.1 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
Konstantin Baierer 42ccb4711d
Update qurator/eynollah/ocrd-tool.json
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
4 years ago
vahid 1184d3d2fc issue raised by Clemens, strong erosion causing 4 years ago
Konstantin Baierer 4897cefdb7 allow passing PIL image to Eynollah w/o disk I/O 4 years ago
Konstantin Baierer ba561ec833 Merge branch 'ocrd-cli' of github.com:qurator-spk/eynollah into ocrd-cli 4 years ago
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>
4 years ago
Konstantin Baierer b11558cd4d Merge branch 'ocrd-cli' of github.com:qurator-spk/eynollah into ocrd-cli 4 years ago
Konstantin Baierer 1367f82605
improve ocrd-tool descriptions
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
4 years ago
vahidrezanezhad 037210b292
update writer.py 4 years ago
Konstantin Baierer 8f7cf5d1fb setup.py: include json data 4 years ago
Konstantin Baierer 5e260eb448 setup.py: include json data 4 years ago
Konstantin Baierer b8d818ede1 writer: don't create empty PcGts at init 4 years ago
Konstantin Baierer 8c4e9b6068 allow passing pcgts to eynollah and writer 4 years ago
Konstantin Baierer 2bc34891a5 fix CLI call 4 years ago
vahid 98f9272c4b a trivial issue is resolved 4 years ago
Konstantin Baierer 9db6edf51e OCR-D CLI 4 years ago
Konstantin Baierer 1715f0d8b3 allow overriding DPI 4 years ago
vahidrezanezhad 3e4ac11347
Merge pull request #32 from qurator-spk/ocrd-page-api-fix
Ocrd page api fix
4 years ago
Konstantin Baierer c95529725a 🐛 typo type{,_} 4 years ago
Konstantin Baierer 93f93444ee 🐛 typo {c,C}oords 4 years ago
vahidrezanezhad b643ced9fb
Merge pull request #31 from qurator-spk/ocrd-page-api
replace lxml with OCR-D/core PAGE API
4 years ago
Konstantin Baierer f41d267456 Merge remote-tracking branch 'origin/main' into ocrd-page-api 4 years ago
Konstantin Baierer 416a84e542 replace lxml with OCR-D/core PAGE API 4 years ago
vahidrezanezhad 17c0f8ab11
Merge pull request #30 from qurator-spk/empty-page-fix
fix call to build xml for empty pages, fix #29
4 years ago
Konstantin Baierer 517843fe8b fix call to build xml for empty pages, fix #29 4 years ago
vahidrezanezhad 68e6f5c712
Merge pull request #28 from qurator-spk/xml-rfct
Xml rfct
4 years ago
vahidrezanezhad 7a859ffae4
Merge branch 'main' into xml-rfct 4 years ago
vahidrezanezhad d5a9817390
back on track- freezing problem , memory error and issues with reading order by drop capitals and marginals are resolved 4 years ago
vahidrezanezhad 43b8759acf
back on track- freezing problem , memory error and issues with reading order by drop capitals and marginals are resolved 4 years ago
vahid b473c85a59 OOM error happend with tensorflow-gpu=1.15.5 is resolved 4 years ago
Konstantin Baierer 3d9da4feaa writer: use a single counter for all regions/lines 4 years ago
Konstantin Baierer a678bbf966 counter: add reset(); 4 years ago
Konstantin Baierer a3465ca1a0 eliminate id_of_texts from xml_reading_order, fix plus one error 4 years ago
Konstantin Baierer 6c60d9e90a reading order: fix @index 4 years ago
Konstantin Baierer 02aa31cc66 Merge remote-tracking branch 'origin/main' into xml-rfct 4 years ago
Konstantin Baierer c5736e9b74 fix region counting 4 years ago