AI-Riksarkivet / htrflow

HTRflow is the underlying engine for our HTR-pipeline
https://ai-riksarkivet.github.io/htrflow
European Union Public License 1.2
14 stars 2 forks source link

Move and remove #8

Closed Borg93 closed 11 months ago

Borg93 commented 11 months ago

https://github.com/Swedish-National-Archives-AI-lab/htrflow_core/blob/28fe97de5607f645f1486d45f9225c2dc844c750/src/htrflow/structures/result.py#L120C1-L254C4

Some of the code here should be moved and some of it should be removed. Ask here for clarification.

Borg93 commented 11 months ago

src └── htrflow ├── asset │ └── I_will_be_included_in_MANIFEST.txt ├── denoise │ ├── binarize.py │ └── init.py ├── helper │ ├── gpu_profile_decorator.py │ ├── profile_decorator.py │ └── timing_decorator.py ├── inferencer │ ├── base_inferencer.py │ ├── huggingface │ │ └── huggingface_inferencer.py │ ├── openmmlab │ │ ├── mmdet_inferencer.py │ │ ├── mmocr_inferencer.py │ │ └── openmmlab_inferencer.py │ ├── test_segmentation.py │ └── text_recognition.py ├── init.py ├── models │ ├── huggingface_models.py │ ├── openmmlab_models.py │ └── utils.py ├── output │ └── xml.py ├── pipeline.py ├── py.typed ├── structures │ ├── data_loader.py │ ├── data_structures.py │ ├── filter_segments.py │ ├── filter_text.py │ ├── mask_text_segments.py │ └── order_segments.py └── visualizer