Commit graph

  • 879e479054
    Merge b8b427cf69 into 88ca39dedb Robert Sachunsky 2026-07-21 09:13:25 +02:00
  • 88ca39dedb 📦 v0.9.1 main v0.9.1 kba 2026-07-20 20:08:41 +02:00
  • b10fb9927d 📝 changelog kba 2026-07-20 20:07:41 +02:00
  • 17028a2193 require core v3.13.2 for ONNX base image kba 2026-07-20 19:57:56 +02:00
  • c94ff96057 📦 v0.9.0 v0.9.0 kba 2026-07-20 19:15:54 +02:00
  • b0b77ce2c7 📝 changelog Robert Sachunsky 2026-07-20 19:14:42 +02:00
  • 21abde833d Merge branch 'fix-0.8-modelzoo-and-predictor' kba 2026-07-20 19:12:44 +02:00
  • 8d38621909 Merge branch 'fix-0.8-modelzoo-and-predictor' into release-v0.9 release-v0.9 kba 2026-07-20 14:51:28 +02:00
  • b8b427cf69 reorder: adapt smoke tests Robert Sachunsky 2026-07-20 13:05:56 +02:00
  • 8d0a9de3e1 reorder: adapt tests Robert Sachunsky 2026-07-20 12:32:54 +02:00
  • 5d1fecac87 reorder: also cover heuristic RO besides model-based… Robert Sachunsky 2026-07-20 02:10:56 +02:00
  • 282095f921 layout: refactor into new function do_order_of_regions_heuristic Robert Sachunsky 2026-07-20 02:06:48 +02:00
  • 198552e100 calculate_width_height_by_columns_1_2: do allow highest enlargement when confident Robert Sachunsky 2026-07-20 02:05:13 +02:00
  • 91f87fa784 rename mb_ro_on_layoutreorder Robert Sachunsky 2026-07-19 23:47:03 +02:00
  • a8ec42eed3 layout -cl: ensure lines are also within parent regions here Robert Sachunsky 2026-07-19 23:44:48 +02:00
  • 0a53381751 layout -cl: fix typo (shapely.prepare instead of prepared) Robert Sachunsky 2026-07-19 23:27:48 +02:00
  • 63fbfc01b5 layout/extract-images/processor: write AlternativeImage if binarized… Robert Sachunsky 2026-07-19 21:40:57 +02:00
  • f1505f5ae6 layout/writer/extract-images: also refactor page as dataclass… Robert Sachunsky 2026-07-19 19:05:46 +02:00
  • 147a86ba42 get_slopes*curved: fix missing arg Robert Sachunsky 2026-07-19 16:27:16 +02:00
  • ca341f3edb ModelZoo type hints: reflect Predictor stand-in and inference backends Robert Sachunsky 2026-07-19 15:05:11 +02:00
  • 4298b021e9 enhancement: log job timing here, too Robert Sachunsky 2026-07-19 15:04:45 +02:00
  • 0956daded9 reorder: simplify and refactor… Robert Sachunsky 2026-07-19 14:56:43 +02:00
  • 12e1c7aea8 extract_images: make it work (again), adapt to dataclasses… Robert Sachunsky 2026-07-19 14:48:35 +02:00
  • beb5545899 layout/writer: simplify and refactor using dataclasses for segments… Robert Sachunsky 2026-07-19 14:07:20 +02:00
  • 5e3fde31d9 calculate_width_height_by_columns: do allow highest enlargement when confident Robert Sachunsky 2026-07-19 03:22:56 +02:00
  • d0a55a1fcb reading order: drop hsep/head elongation mechanism (too many FP) Robert Sachunsky 2026-07-19 03:21:38 +02:00
  • 4f7c5675fc ocr: ensure forked logging handlers also work under pytest Robert Sachunsky 2026-07-18 18:02:40 +02:00
  • 79a9bb0128 cnn-rnn-ocr: increase default batch size and VRAM limit Robert Sachunsky 2026-07-18 00:59:57 +02:00
  • be8b161607 cnn-rnn-ocr: batch flipped line candidates together with rest Robert Sachunsky 2026-07-18 00:37:19 +02:00
  • 7e776612a4 cnn-rnn-ocr: if dir_in_bin==dir_in, then split PNG and rest… Robert Sachunsky 2026-07-18 00:35:50 +02:00
  • 6840b67961 ocr: run dir_in mode in parallel (like layout), too… Robert Sachunsky 2026-07-18 00:24:08 +02:00
  • 1c8ac38d31 OCR w/o overwrite: skip one file, not the entire run Robert Sachunsky 2026-07-17 19:19:20 +02:00
  • aace571368 cnn-rnn-ocr: fix Robert Sachunsky 2026-07-17 19:15:54 +02:00
  • 5d129dc8c1 cnn-rnn-ocr: fix typo causing rare failures Robert Sachunsky 2026-07-17 19:02:42 +02:00
  • 4b9fa543ae processor: fix typo (empty model_overrides) Robert Sachunsky 2026-07-17 16:23:03 +02:00
  • 5939845d1d utils.contour.make_valid: be more robust (avoiding MultiPolygon) Robert Sachunsky 2026-07-17 15:43:47 +02:00
  • c1b276fea1 processor: pass on more Eynollah parameters… Robert Sachunsky 2026-07-17 15:37:39 +02:00
  • f579d12866 processor: resolve models path as processor resource Robert Sachunsky 2026-07-17 12:56:19 +02:00
  • 0a9b3097f1 processor: avoid writing XML twice (once by writer, once by OCR-D) Robert Sachunsky 2026-07-17 12:53:13 +02:00
  • d2755d1e93 update references to new v0_9_1 model release kba 2026-07-15 20:05:36 +02:00
  • 1440d454cc models: bump version kba 2026-07-15 17:18:33 +02:00
  • 32c5e9ae76 add missing models, remove microsoft kba 2026-07-15 17:03:04 +02:00
  • 03915b24a5 models: symlinks for the model packages for zenodo upload kba 2026-07-15 16:02:49 +02:00
  • 909ccfd38b Merge branch 'fix-0.8-modelzoo-and-predictor' of https://github.com/bertsky/eynollah into fix-0.8-modelzoo-and-predictor kba 2026-07-15 15:37:11 +02:00
  • 9804d736ac CI: avoid CUDA dependencies here Robert Sachunsky 2026-07-15 13:59:43 +02:00
  • 4d97e3bf7f training: fix typos found by ruff Robert Sachunsky 2026-07-15 12:46:33 +02:00
  • 0ab6e19f33 configure ruff search path Robert Sachunsky 2026-07-15 12:46:13 +02:00
  • b89e1b4296 ocrd-tool.json: differentiate inference-all and inference-layout Robert Sachunsky 2026-07-15 04:24:33 +02:00
  • 25865372d0 dependencies for [OCR]: add TF, avoid newer Torch (pulling CUDA 13) Robert Sachunsky 2026-07-15 04:11:29 +02:00
  • efe4aa8b0c mbreorder: fix init (wrong way to load model) Robert Sachunsky 2026-07-15 04:10:47 +02:00
  • 839d7b9a7e ModelZoo: avoid Azure EP (displacing CPU) Robert Sachunsky 2026-07-15 04:09:33 +02:00
  • c5713e010e deps: OCR requires explicit dep on tensorflow/keras now fix-0.8-modelzoo-and-predictor kba 2026-07-14 21:04:06 +02:00
  • b4165114ea update zenodo links to v0_9_0 models kba 2026-07-14 21:00:09 +02:00
  • c43e219858 model packaging/uploading kba 2026-07-14 19:02:52 +02:00
  • 1972e9975b model packaging/uploading fix-0.8-modelzoo-and-predictor__models kba 2026-07-14 19:02:52 +02:00
  • 83fca95914
    Merge pull request #9 from qurator-spk/integrating_trocr_and_torch_ensembling_and_updating_characters_list-refactor Robert Sachunsky 2026-07-14 16:23:12 +02:00
  • 1591d2091c update docs Robert Sachunsky 2026-07-14 16:22:47 +02:00
  • 5dc9a3456c Dockerfile: do not install OCR (as Torch and ONNX clash over CUDA) Robert Sachunsky 2026-07-14 15:58:00 +02:00
  • 12be983487 cnn-rnn-ocr inference: switch back to beam search, only run in TF… Robert Sachunsky 2026-07-12 03:49:41 +02:00
  • c680dae2d1 ModelZoo for ONNX backend: allow setting execution providers via env Robert Sachunsky 2026-07-10 17:22:50 +02:00
  • 39e054e718 train: remove tf-specifics and weird __getitem__ def from transformer-ocr setup integrating_trocr_and_torch_ensembling_and_updating_characters_list-refactor kba 2026-07-09 19:23:21 +02:00
  • affddd6c85 train: make preprocess_imgs_ocr work for transformer-ocr kba 2026-07-09 19:12:09 +02:00
  • b2f3a8f2d8 Merge branch 'fix-0.8-modelzoo-and-predictor-kba0709' into integrating_trocr_and_torch_ensembling_and_updating_characters_list-refactor kba 2026-07-09 17:32:23 +02:00
  • b1f2f43051 upgrade tf2onnx fork dep, remove spurious tf-data dep fix-0.8-modelzoo-and-predictor-kba0709 kba 2026-07-09 17:30:48 +02:00
  • 492fcbacb7 switch to fork of tf2onnx kba 2026-07-09 15:17:11 +02:00
  • b9ba43b444 training: require tf2onnx and pin ml_dtypes >= 0.5 kba 2026-07-09 14:37:51 +02:00
  • c9c14ed83d Docker: update to ONNX base image (in Makefile, too) Robert Sachunsky 2026-07-08 14:04:19 +02:00
  • 98e28ca9f4 Docker: fixup cuDNN installation after OCR extra Robert Sachunsky 2026-07-08 03:05:07 +02:00
  • 5354583913 update readme Robert Sachunsky 2026-07-08 02:56:11 +02:00
  • 8cc8c28471 ModelZoo for ONNX backend: configure TRT cache path from XDG env Robert Sachunsky 2026-07-08 02:55:25 +02:00
  • 32568a590f Docker: update to ONNX base image Robert Sachunsky 2026-07-08 02:54:34 +02:00
  • 171a8a3161 move TF+Keras dependencies to training extra, replace by ONNX+TRT Robert Sachunsky 2026-07-07 22:56:36 +02:00
  • 1567df1379 remove numba dependency (previously used to free CUDA memory) Robert Sachunsky 2026-07-07 22:09:46 +02:00
  • 16943f70b4 models (ViT backbone) iterate extract_patches over batch dim… Robert Sachunsky 2026-07-02 20:58:22 +02:00
  • 1b27c7390f training.convert/ONNX: run strict shape inference and check model Robert Sachunsky 2026-07-02 20:56:55 +02:00
  • 5e531ab006 get_textlines_of_textregion_sorted: fix be61875 Robert Sachunsky 2026-07-01 18:27:46 +02:00
  • 01e69a0e22 predictor for OCR models: work around ONNX bug … Robert Sachunsky 2026-06-26 02:42:51 +02:00
  • 948d841a7d training.models for cnn-rnn-ocr: make ONNX convertible… Robert Sachunsky 2026-06-26 02:21:47 +02:00
  • 45168178dc ModelZoo ONNX backend: log configured top provider (backend) Robert Sachunsky 2026-06-26 02:13:39 +02:00
  • ef47f0ef09 training convert: only add characters_org.txt if it exists Robert Sachunsky 2026-06-26 02:11:59 +02:00
  • 42a3751e63 ModelZoo ONNX: avoid verbose logging Robert Sachunsky 2026-06-19 22:01:39 +02:00
  • 0bfbbfdc80 training.metrics: allow module init without TFA Robert Sachunsky 2026-06-19 22:01:02 +02:00
  • eb4cae9dee training.models for cnn-rnn-ocr: avoid Conv1D(..channels_first..) Robert Sachunsky 2026-06-16 17:28:10 +02:00
  • dfa651ef8a predictor: show full stacktrace before passing the exception over Robert Sachunsky 2026-06-12 22:21:06 +02:00
  • 89ce9de6fa musicregion is added to pagexml to label vahidrezanezhad 2026-02-24 15:46:15 +01:00
  • 303bdfe0e7 Amiri font which works for both arabic and latin vahidrezanezhad 2026-02-24 13:55:45 +01:00
  • d2123a2746 FIXME: get label for decoration without type attribute vahidrezanezhad 2026-02-24 01:39:12 +01:00
  • 499e3d0715 trocr inference is integrated - works on CPU cause seg fault on GPU vahidrezanezhad 2026-02-18 15:04:54 +01:00
  • a11c833fc1 bug fix: layout visualization vahidrezanezhad 2026-02-16 11:50:39 +01:00
  • d0b3bb419f extracting ocr textline images and text: vertical lines threshold has changed to 1.4 vahidrezanezhad 2026-02-10 14:32:23 +01:00
  • 4776ea9fc4 torch model ensembling is integrated vahidrezanezhad 2026-02-04 21:16:08 +01:00
  • aba0138216 generate or update list of characters in the case of cnn-rnn ocr training vahidrezanezhad 2026-02-03 20:20:20 +01:00
  • 7f86a55ccb integrating transformer ocr vahidrezanezhad 2026-02-03 19:45:50 +01:00
  • e9839a8b54 makefile to reload models: avoid ONNX conversion for cnn-rnn-ocr too Robert Sachunsky 2026-06-12 15:00:36 +02:00
  • 19504cb932 makefile to reload models: add target for SavedModel Keras format Robert Sachunsky 2026-06-12 14:59:38 +02:00
  • 60c9f4786c ModelZoo device selection: warn if model category still unmatched… Robert Sachunsky 2026-06-12 14:58:32 +02:00
  • 94082bc64a ModelZoo TF-Serving backend: deal with buggy .inputs signature… Robert Sachunsky 2026-06-12 14:56:44 +02:00
  • 45c92eada2 models w/ multiple inputs yield a tuple for .input_shape Robert Sachunsky 2026-06-12 14:55:46 +02:00
  • 08946067ac ModelZoo ONNX backend: handle multiple inputs, too Robert Sachunsky 2026-06-12 14:54:51 +02:00
  • 9d2412080f training.models for cnn-rnn-ocr: fix config names for height/width… Robert Sachunsky 2026-06-12 14:52:23 +02:00