File size: 1,789 Bytes
5ebeb73
 
 
fb07c0e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2aaf96a
fb07c0e
 
 
5ebeb73
 
25a1e9d
6ebdd52
 
 
 
 
 
 
 
 
 
417b347
b742b60
0493089
5202e66
0493089
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
class TextRoadmap:
    roadmap = """
    ## Roadmap
    
    - **Model Training & Updates**
      - Continually retrain and update both segmentation and text-recognition models as more training data becomes available.
    
    - **Specialized TrOCR Model**
      - Train a TrOCR model specialized on Swedish historical handwritten text.
      - Initialize with a historical BERT-model trained at the Swedish National Archives.
    
    - **Open-source HTR Project**
      - Develop an easy-to-implement pipeline like the demo.
      - Ensure high modularity: 
        - Different segmentation strategies.
        - Integration of models from various frameworks.
        - Effective evaluation methods for entire pipelines and their comparisons.
      - Broad use-cases: Not just running text, but all types of handwritten archives.
    
    - **Large Scale HTR**
      - Conduct large scale HTR on handwritten historical archives of interest to humanities researchers.

    - **Rest APIs**
      - Serve model through inference APIs 
      
    """

    discussion = """
    ## Get in Touch

    If you have suggestions, questions, or would like to discuss our roadmap further, please don't hesitate to reach out.
    Press badge below to open a discussion on HuggingFace.

    <p align="center">
        <a href="https://huggingface.co/spaces/Riksarkivet/htr_demo/discussions">
            <img src="https://huggingface.co/datasets/huggingface/badges/raw/main/open-a-discussion-xl-dark.svg" alt="Badge 1">
        </a>
    </p>"""

    roadmap_image = """  
    <figure>
    <img src="https://raw.githubusercontent.com/Borg93/htr_gradio_file_placeholder/main/roadmap_image_2.png" alt="HTR_tool" style="width:70%; display: block; margin-left: auto; margin-right:auto;" >
    </figure> """