Commit Graph

168 Commits (main)

Author SHA1 Message Date
vahid c4b2c71e68 resolving issue https://github.com/qurator-spk/eynollah/issues/38 3 years ago
vahid 7cbecadccc adding the binarization model and option to binarize input document for the cases like dark, stronly bright and other ones 3 years ago
vahid 44dad6a072 strong erosion, more modification 3 years ago
vahidrezanezhad 176c7531ab
Update eynollah.py 3 years ago
vahid c051e22432 fixing again the error raised because of erosion 3 years ago
vahidrezanezhad d5be8aece3
Merge pull request #33 from qurator-spk/ocrd-cli
Ocrd cli
3 years ago
Konstantin Baierer 6c8852eb04 check_dpi: catch Pillow choking on faulty img, return 230 3 years ago
Konstantin Baierer ff265eee5c cv2pil: do COLOR_BGR2RGB conversion 3 years ago
Konstantin Baierer c7f304dcb6 ocrd processor: pass local filename as image_filename, ht @bertsky 3 years ago
Konstantin Baierer d0b0e23ac6 do DPI calculation as part of caching images 3 years ago
Konstantin Baierer ae0b4a825a ocrd cli: catch dpi == 1, return 230 3 years ago
Konstantin Baierer 2e8a3e3bee use Page.imageFilename directly for accurate DPI estimate 3 years ago
Konstantin Baierer 42ccb4711d
Update qurator/eynollah/ocrd-tool.json
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
3 years ago
vahid 1184d3d2fc issue raised by Clemens, strong erosion causing 3 years ago
Konstantin Baierer 4897cefdb7 allow passing PIL image to Eynollah w/o disk I/O 3 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>
3 years ago
Konstantin Baierer 1367f82605
improve ocrd-tool descriptions
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
3 years ago
vahidrezanezhad 037210b292
update writer.py 3 years ago
Konstantin Baierer b8d818ede1 writer: don't create empty PcGts at init 3 years ago
Konstantin Baierer 8c4e9b6068 allow passing pcgts to eynollah and writer 3 years ago
Konstantin Baierer 2bc34891a5 fix CLI call 3 years ago
vahid 98f9272c4b a trivial issue is resolved 3 years ago
Konstantin Baierer 9db6edf51e OCR-D CLI 3 years ago
Konstantin Baierer 1715f0d8b3 allow overriding DPI 3 years ago
Konstantin Baierer c95529725a 🐛 typo type{,_} 3 years ago
Konstantin Baierer 93f93444ee 🐛 typo {c,C}oords 3 years ago
Konstantin Baierer 416a84e542 replace lxml with OCR-D/core PAGE API 3 years ago
vahidrezanezhad 7a859ffae4
Merge branch 'main' into xml-rfct 3 years ago
vahidrezanezhad d5a9817390
back on track- freezing problem , memory error and issues with reading order by drop capitals and marginals are resolved 3 years ago
vahidrezanezhad 43b8759acf
back on track- freezing problem , memory error and issues with reading order by drop capitals and marginals are resolved 3 years ago
vahid b473c85a59 OOM error happend with tensorflow-gpu=1.15.5 is resolved 3 years ago
Konstantin Baierer 3d9da4feaa writer: use a single counter for all regions/lines 3 years ago
Konstantin Baierer a678bbf966 counter: add reset(); 3 years ago
Konstantin Baierer a3465ca1a0 eliminate id_of_texts from xml_reading_order, fix plus one error 3 years ago
Konstantin Baierer 6c60d9e90a reading order: fix @index 3 years ago
Konstantin Baierer 02aa31cc66 Merge remote-tracking branch 'origin/main' into xml-rfct 3 years ago
Konstantin Baierer c5736e9b74 fix region counting 3 years ago
vahid 67a9fc8820 .. 3 years ago
vahidrezanezhad 4b3c8a6707
bug in reading order is fixed 3 years ago
vahidrezanezhad 73b7c780ab
Update eynollah.py
reading order bug for documents with text regions less than 5: fixed
3 years ago
Konstantin Baierer 03d75f5788 simplify serialize_lines_in_region 3 years ago
Konstantin Baierer d95fcf14c0 id_of_marginalia still necessary 3 years ago
Konstantin Baierer 56b688befe counter: allow arbitrary line/region id 3 years ago
Konstantin Baierer 7eb973b3aa xml_reading_order takes id_of_marginals directly 3 years ago
Konstantin Baierer 98568402c7 counter: init-overrideable 3 years ago
Konstantin Baierer 9b1da7c023 use counter for lines too 3 years ago
Konstantin Baierer 1cd3ee1a2e simplify calculate_polygon_coords 3 years ago
Konstantin Baierer 20fcac6232 remove unnecessary if 3 years ago
Konstantin Baierer 24da879844 add EynollahIdCounter class 3 years ago
Konstantin Baierer 9f5e4af5f0 factor out marginalia ID calc from xml_reading_order 3 years ago
Konstantin Baierer 630002d96d minor clean up xml_reading_order 3 years ago
Konstantin Baierer 38ab2aa573 eliminate tartib var 3 years ago
Konstantin Baierer 62fa710f27 move order_and_id_of_texts to utils.xml 3 years ago
Konstantin Baierer 8d4ce75656 typo s,teil,tile,g 3 years ago
Konstantin Baierer 18475b3c20 remaining typos idenitified by codespell 3 years ago
Konstantin Baierer adb96b5b49 s,hiearchy,hierarchy,g 3 years ago
Konstantin Baierer 10ae13f9b0 typo: s,separater,separator, 3 years ago
Konstantin Baierer 78a7ace863 typo: s,hirarchy,hierarchy, 3 years ago
Konstantin Baierer 526769354a typo: s,seperator,separator, 3 years ago
Konstantin Baierer ec9939c3c7 typo: s,hierachy,hierarchy, 3 years ago
Konstantin Baierer 6036478889 typo: s,enhancemnet,enhancement,g 3 years ago
Konstantin Baierer 5f2867bfcf typo: s,contoures,contours,g 3 years ago
Konstantin Baierer ccd83e94b1 typo: s,cprrsp,corresp,g 3 years ago
Konstantin Baierer 1f95a69bec typo: s,rotyate,rotate,g 3 years ago
Konstantin Baierer 375e9771e2 typo: s,spliter,splitter,g 3 years ago
Konstantin Baierer e332da34f6 typo: s,teil,tile,g 3 years ago
Konstantin Baierer b1b0e97945 typo: s,seperate,separate,g 3 years ago
Konstantin Baierer 58c4403e13 rename package to qurator.eynollah 3 years ago