Update README.md
Browse files
README.md
CHANGED
@@ -68,11 +68,13 @@ A CRNN+CTC version of this model trained on Kraken 4.0 (https://github.com/mitta
|
|
68 |
Torres Aguilar, S. (2024). TRIDIS v2 : HTR model for Multilingual Medieval and Early Modern Documentary Manuscripts (11th-16th) (Version 2). Zenodo. https://doi.org/10.5281/zenodo.13862096
|
69 |
|
70 |
|
71 |
-
The following snippet can be used to get model inferences on manuscript lines.
|
72 |
-
|
|
|
|
|
73 |
[
|
74 |
-
|
75 |
-
|
76 |
etc.
|
77 |
]
|
78 |
|
|
|
68 |
Torres Aguilar, S. (2024). TRIDIS v2 : HTR model for Multilingual Medieval and Early Modern Documentary Manuscripts (11th-16th) (Version 2). Zenodo. https://doi.org/10.5281/zenodo.13862096
|
69 |
|
70 |
|
71 |
+
The following snippet can be used to get model inferences on manuscript lines. Ideally the test dataset must be passed to the model on the form of a json file redirecting to the images:
|
72 |
+
|
73 |
+
for ex (graphical_line_path, line_text_content):
|
74 |
+
|
75 |
[
|
76 |
+
["liber_eSc_line_b9f83857", "Et pour ces deniers que je ai ressus de"],
|
77 |
+
["liber_eSc_line_8da10559", "lui , sui je ses hons et serai tant con je vive-"],
|
78 |
etc.
|
79 |
]
|
80 |
|