Spaces:
Sleeping
Sleeping
Upload 12 files
Browse files- .gitattributes +1 -0
- README.md +8 -6
- app.py +279 -0
- catmus-medieval/language_model.arpa.gz +3 -0
- catmus-medieval/language_model.binary +3 -0
- catmus-medieval/lexicon.txt +254 -0
- catmus-medieval/model +0 -0
- catmus-medieval/syms.txt +254 -0
- catmus-medieval/tokens.txt +254 -0
- catmus-medieval/weights.ckpt +3 -0
- model.pt +3 -0
- requirements.txt +24 -0
- runtime.txt +1 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
catmus-medieval/language_model.binary filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,12 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
title: Yolov11 Pylaia
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Yolov11 Pylaia Catmus
|
| 3 |
+
emoji: 💻
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: pink
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: 1.44.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: 'YOLOv11 Text Line Segmentation & PyLaia Text Recognition on '
|
| 12 |
---
|
| 13 |
|
| 14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import warnings
|
| 2 |
+
warnings.simplefilter("ignore", UserWarning)
|
| 3 |
+
|
| 4 |
+
from uuid import uuid4
|
| 5 |
+
from laia.scripts.htr.decode_ctc import run as decode
|
| 6 |
+
from laia.common.arguments import CommonArgs, DataArgs, TrainerArgs, DecodeArgs
|
| 7 |
+
import sys
|
| 8 |
+
from tempfile import NamedTemporaryFile, mkdtemp
|
| 9 |
+
from pathlib import Path
|
| 10 |
+
from contextlib import redirect_stdout
|
| 11 |
+
import re
|
| 12 |
+
from PIL import Image
|
| 13 |
+
from bidi.algorithm import get_display
|
| 14 |
+
import multiprocessing
|
| 15 |
+
from ultralytics import YOLO
|
| 16 |
+
import cv2
|
| 17 |
+
import numpy as np
|
| 18 |
+
import pandas as pd
|
| 19 |
+
import logging
|
| 20 |
+
from typing import List, Optional, Tuple, Dict
|
| 21 |
+
from huggingface_hub import hf_hub_download
|
| 22 |
+
import gradio as gr
|
| 23 |
+
import supervision as sv
|
| 24 |
+
import os
|
| 25 |
+
import spaces
|
| 26 |
+
import torch
|
| 27 |
+
|
| 28 |
+
# Define models
|
| 29 |
+
MODEL_OPTIONS = {
|
| 30 |
+
"YOLOv11-Nano": "medieval-yolov11n.pt",
|
| 31 |
+
"YOLOv11-Small": "medieval-yolov11s.pt",
|
| 32 |
+
"YOLOv11-Medium": "medieval-yolov11m.pt",
|
| 33 |
+
"YOLOv11-Large": "medieval-yolov11l.pt",
|
| 34 |
+
"YOLOv11-XLarge": "medieval-yolov11x.pt"
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
# Dictionary to store loaded models
|
| 38 |
+
models: Dict[str, YOLO] = {}
|
| 39 |
+
|
| 40 |
+
# Load all models
|
| 41 |
+
for name, model_file in MODEL_OPTIONS.items():
|
| 42 |
+
model_path = hf_hub_download(
|
| 43 |
+
repo_id="biglam/medieval-manuscript-yolov11",
|
| 44 |
+
filename=model_file
|
| 45 |
+
)
|
| 46 |
+
models[name] = YOLO(model_path)
|
| 47 |
+
|
| 48 |
+
# Configure logging
|
| 49 |
+
logging.getLogger("lightning.pytorch").setLevel(logging.ERROR)
|
| 50 |
+
|
| 51 |
+
# Load YOLOv8 model
|
| 52 |
+
model = YOLO(model_path)
|
| 53 |
+
images = Path(mkdtemp())
|
| 54 |
+
DEFAULT_HEIGHT = 128
|
| 55 |
+
TEXT_DIRECTION = "LTR"
|
| 56 |
+
NUM_WORKERS = multiprocessing.cpu_count()
|
| 57 |
+
|
| 58 |
+
# Regex pattern for extracting results
|
| 59 |
+
IMAGE_ID_PATTERN = r"(?P<image_id>[-a-z0-9]{36})"
|
| 60 |
+
CONFIDENCE_PATTERN = r"(?P<confidence>[0-9.]+)" # For line
|
| 61 |
+
TEXT_PATTERN = r"\s*(?P<text>.*)\s*"
|
| 62 |
+
LINE_PREDICTION = re.compile(rf"{IMAGE_ID_PATTERN} {CONFIDENCE_PATTERN} {TEXT_PATTERN}")
|
| 63 |
+
|
| 64 |
+
# Create annotators
|
| 65 |
+
LABEL_ANNOTATOR = sv.LabelAnnotator(text_color=sv.Color.BLACK)
|
| 66 |
+
BOX_ANNOTATOR = sv.BoxAnnotator()
|
| 67 |
+
|
| 68 |
+
# Select device
|
| 69 |
+
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
| 70 |
+
|
| 71 |
+
def get_width(image, height=DEFAULT_HEIGHT):
|
| 72 |
+
aspect_ratio = image.width / image.height
|
| 73 |
+
return height * aspect_ratio
|
| 74 |
+
|
| 75 |
+
def simplify_polygons(polygons: List[np.ndarray], approx_level: float = 0.01) -> List[Optional[np.ndarray]]:
|
| 76 |
+
"""Simplify polygon contours using Douglas-Peucker algorithm.
|
| 77 |
+
|
| 78 |
+
Args:
|
| 79 |
+
polygons: List of polygon contours
|
| 80 |
+
approx_level: Approximation level (0-1), lower values mean more simplification
|
| 81 |
+
|
| 82 |
+
Returns:
|
| 83 |
+
List of simplified polygons (or None for invalid polygons)
|
| 84 |
+
"""
|
| 85 |
+
result = []
|
| 86 |
+
for polygon in polygons:
|
| 87 |
+
if len(polygon) < 4:
|
| 88 |
+
result.append(None)
|
| 89 |
+
continue
|
| 90 |
+
|
| 91 |
+
perimeter = cv2.arcLength(polygon, True)
|
| 92 |
+
approx = cv2.approxPolyDP(polygon, approx_level * perimeter, True)
|
| 93 |
+
if len(approx) < 4:
|
| 94 |
+
result.append(None)
|
| 95 |
+
continue
|
| 96 |
+
|
| 97 |
+
result.append(approx.squeeze())
|
| 98 |
+
return result
|
| 99 |
+
|
| 100 |
+
def predict_text(input_img):
|
| 101 |
+
"""PyLaia text recognition function"""
|
| 102 |
+
model_dir = 'catmus-medieval'
|
| 103 |
+
temperature = 2.0
|
| 104 |
+
batch_size = 1
|
| 105 |
+
|
| 106 |
+
weights_path = f"{model_dir}/weights.ckpt"
|
| 107 |
+
syms_path = f"{model_dir}/syms.txt"
|
| 108 |
+
language_model_params = {"language_model_weight": 1.0}
|
| 109 |
+
use_language_model = True
|
| 110 |
+
if use_language_model:
|
| 111 |
+
language_model_params.update({
|
| 112 |
+
"language_model_path": f"{model_dir}/language_model.binary",
|
| 113 |
+
"lexicon_path": f"{model_dir}/lexicon.txt",
|
| 114 |
+
"tokens_path": f"{model_dir}/tokens.txt",
|
| 115 |
+
})
|
| 116 |
+
|
| 117 |
+
common_args = CommonArgs(
|
| 118 |
+
checkpoint="weights.ckpt",
|
| 119 |
+
train_path=f"{model_dir}",
|
| 120 |
+
experiment_dirname="",
|
| 121 |
+
)
|
| 122 |
+
|
| 123 |
+
data_args = DataArgs(batch_size=batch_size, color_mode="L")
|
| 124 |
+
trainer_args = TrainerArgs(progress_bar_refresh_rate=0)
|
| 125 |
+
decode_args = DecodeArgs(
|
| 126 |
+
include_img_ids=True,
|
| 127 |
+
join_string="",
|
| 128 |
+
convert_spaces=True,
|
| 129 |
+
print_line_confidence_scores=True,
|
| 130 |
+
print_word_confidence_scores=False,
|
| 131 |
+
temperature=temperature,
|
| 132 |
+
use_language_model=use_language_model,
|
| 133 |
+
**language_model_params,
|
| 134 |
+
)
|
| 135 |
+
|
| 136 |
+
with NamedTemporaryFile() as pred_stdout, NamedTemporaryFile() as img_list:
|
| 137 |
+
image_id = uuid4()
|
| 138 |
+
input_img = input_img.resize((int(get_width(input_img)), DEFAULT_HEIGHT))
|
| 139 |
+
input_img.save(f"{images}/{image_id}.jpg")
|
| 140 |
+
Path(img_list.name).write_text("\n".join([str(image_id)]))
|
| 141 |
+
|
| 142 |
+
with redirect_stdout(open(pred_stdout.name, mode="w")):
|
| 143 |
+
decode(
|
| 144 |
+
syms=str(syms_path),
|
| 145 |
+
img_list=img_list.name,
|
| 146 |
+
img_dirs=[str(images)],
|
| 147 |
+
common=common_args,
|
| 148 |
+
data=data_args,
|
| 149 |
+
trainer=trainer_args,
|
| 150 |
+
decode=decode_args,
|
| 151 |
+
num_workers=1,
|
| 152 |
+
)
|
| 153 |
+
sys.stdout.flush()
|
| 154 |
+
predictions = Path(pred_stdout.name).read_text().strip().splitlines()
|
| 155 |
+
|
| 156 |
+
_, score, text = LINE_PREDICTION.match(predictions[0]).groups()
|
| 157 |
+
return text, float(score)
|
| 158 |
+
|
| 159 |
+
@spaces.GPU
|
| 160 |
+
def detect_and_recognize(image, model_name, conf_threshold, iou_threshold):
|
| 161 |
+
if image is None:
|
| 162 |
+
return None, ""
|
| 163 |
+
|
| 164 |
+
# Get model path
|
| 165 |
+
model_path = hf_hub_download(
|
| 166 |
+
repo_id="biglam/medieval-manuscript-yolov11",
|
| 167 |
+
filename=MODEL_OPTIONS[model_name]
|
| 168 |
+
)
|
| 169 |
+
|
| 170 |
+
# Load model
|
| 171 |
+
model = YOLO(model_path)
|
| 172 |
+
|
| 173 |
+
# Perform inference
|
| 174 |
+
results = model.predict(
|
| 175 |
+
image,
|
| 176 |
+
conf=conf_threshold,
|
| 177 |
+
iou=iou_threshold,
|
| 178 |
+
classes=0,
|
| 179 |
+
device=device
|
| 180 |
+
)[0]
|
| 181 |
+
|
| 182 |
+
# Convert results to supervision Detections
|
| 183 |
+
boxes = results.boxes.xyxy.cpu().numpy()
|
| 184 |
+
confidence = results.boxes.conf.cpu().numpy()
|
| 185 |
+
class_ids = results.boxes.cls.cpu().numpy().astype(int)
|
| 186 |
+
|
| 187 |
+
# Sort boxes by y-coordinate
|
| 188 |
+
sorted_indices = np.argsort(boxes[:, 1])
|
| 189 |
+
boxes = boxes[sorted_indices]
|
| 190 |
+
confidence = confidence[sorted_indices]
|
| 191 |
+
|
| 192 |
+
# Create Detections object
|
| 193 |
+
detections = sv.Detections(
|
| 194 |
+
xyxy=boxes,
|
| 195 |
+
confidence=confidence,
|
| 196 |
+
class_id=class_ids
|
| 197 |
+
)
|
| 198 |
+
|
| 199 |
+
# Create labels
|
| 200 |
+
labels = [
|
| 201 |
+
f"Line {i+1} ({conf:.2f})"
|
| 202 |
+
for i, conf in enumerate(confidence)
|
| 203 |
+
]
|
| 204 |
+
|
| 205 |
+
# Annotate image
|
| 206 |
+
annotated_image = image.copy()
|
| 207 |
+
annotated_image = BOX_ANNOTATOR.annotate(scene=annotated_image, detections=detections)
|
| 208 |
+
annotated_image = LABEL_ANNOTATOR.annotate(scene=annotated_image, detections=detections, labels=labels)
|
| 209 |
+
|
| 210 |
+
# Create text summary
|
| 211 |
+
text_summary = "\n".join([f"Line {i+1}: Confidence {conf:.2f}" for i, conf in enumerate(confidence)])
|
| 212 |
+
|
| 213 |
+
return annotated_image, text_summary
|
| 214 |
+
|
| 215 |
+
def gradio_reset():
|
| 216 |
+
return None, None, ""
|
| 217 |
+
|
| 218 |
+
if __name__ == "__main__":
|
| 219 |
+
print(f"Using device: {device}")
|
| 220 |
+
|
| 221 |
+
with gr.Blocks() as demo:
|
| 222 |
+
gr.Markdown("# Medieval Manuscript Text Detection")
|
| 223 |
+
|
| 224 |
+
with gr.Row():
|
| 225 |
+
with gr.Column():
|
| 226 |
+
input_image = gr.Image(
|
| 227 |
+
label="Input Image",
|
| 228 |
+
type="numpy"
|
| 229 |
+
)
|
| 230 |
+
with gr.Accordion("Detection Settings", open=True):
|
| 231 |
+
model_selector = gr.Dropdown(
|
| 232 |
+
choices=list(MODEL_OPTIONS.keys()),
|
| 233 |
+
value=list(MODEL_OPTIONS.keys())[0],
|
| 234 |
+
label="Model",
|
| 235 |
+
info="Select YOLO model variant"
|
| 236 |
+
)
|
| 237 |
+
with gr.Row():
|
| 238 |
+
conf_threshold = gr.Slider(
|
| 239 |
+
label="Confidence Threshold",
|
| 240 |
+
minimum=0.0,
|
| 241 |
+
maximum=1.0,
|
| 242 |
+
step=0.05,
|
| 243 |
+
value=0.25,
|
| 244 |
+
)
|
| 245 |
+
iou_threshold = gr.Slider(
|
| 246 |
+
label="IoU Threshold",
|
| 247 |
+
minimum=0.0,
|
| 248 |
+
maximum=1.0,
|
| 249 |
+
step=0.05,
|
| 250 |
+
value=0.45,
|
| 251 |
+
)
|
| 252 |
+
with gr.Row():
|
| 253 |
+
clear_btn = gr.Button("Clear")
|
| 254 |
+
detect_btn = gr.Button("Detect", variant="primary")
|
| 255 |
+
|
| 256 |
+
with gr.Column():
|
| 257 |
+
output_image = gr.Image(
|
| 258 |
+
label="Detection Result",
|
| 259 |
+
type="numpy"
|
| 260 |
+
)
|
| 261 |
+
text_output = gr.Textbox(
|
| 262 |
+
label="Detection Summary",
|
| 263 |
+
lines=10
|
| 264 |
+
)
|
| 265 |
+
|
| 266 |
+
# Connect buttons to functions
|
| 267 |
+
detect_btn.click(
|
| 268 |
+
detect_and_recognize,
|
| 269 |
+
inputs=[input_image, model_selector, conf_threshold, iou_threshold],
|
| 270 |
+
outputs=[output_image, text_output]
|
| 271 |
+
)
|
| 272 |
+
clear_btn.click(
|
| 273 |
+
gradio_reset,
|
| 274 |
+
inputs=None,
|
| 275 |
+
outputs=[input_image, output_image, text_output]
|
| 276 |
+
)
|
| 277 |
+
|
| 278 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, debug=True)
|
| 279 |
+
|
catmus-medieval/language_model.arpa.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:754aca0dfb5b8c96b922e7ae96ad515a4bdd131760a8b59a3648b2c33d41329f
|
| 3 |
+
size 21600345
|
catmus-medieval/language_model.binary
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d825caa68d8a1d7db10196c9de6591550f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58
|
| 60 |
+
d 59
|
| 61 |
+
e 60
|
| 62 |
+
f 61
|
| 63 |
+
g 62
|
| 64 |
+
h 63
|
| 65 |
+
i 64
|
| 66 |
+
j 65
|
| 67 |
+
k 66
|
| 68 |
+
l 67
|
| 69 |
+
m 68
|
| 70 |
+
n 69
|
| 71 |
+
o 70
|
| 72 |
+
p 71
|
| 73 |
+
q 72
|
| 74 |
+
r 73
|
| 75 |
+
s 74
|
| 76 |
+
t 75
|
| 77 |
+
u 76
|
| 78 |
+
v 77
|
| 79 |
+
w 78
|
| 80 |
+
x 79
|
| 81 |
+
y 80
|
| 82 |
+
z 81
|
| 83 |
+
| 82
|
| 84 |
+
~ 83
|
| 85 |
+
¬ 84
|
| 86 |
+
° 85
|
| 87 |
+
¶ 86
|
| 88 |
+
Ø 87
|
| 89 |
+
Þ 88
|
| 90 |
+
ß 89
|
| 91 |
+
æ 90
|
| 92 |
+
ð 91
|
| 93 |
+
÷ 92
|
| 94 |
+
þ 93
|
| 95 |
+
đ 94
|
| 96 |
+
ħ 95
|
| 97 |
+
ł 96
|
| 98 |
+
ŧ 97
|
| 99 |
+
ƀ 98
|
| 100 |
+
ƿ 99
|
| 101 |
+
Ƿ 100
|
| 102 |
+
ɂ 101
|
| 103 |
+
ɨ 102
|
| 104 |
+
ʰ 103
|
| 105 |
+
ʳ 104
|
| 106 |
+
ˡ 105
|
| 107 |
+
ˢ 106
|
| 108 |
+
ˣ 107
|
| 109 |
+
̀ 108
|
| 110 |
+
́ 109
|
| 111 |
+
̂ 110
|
| 112 |
+
̃ 111
|
| 113 |
+
̇ 112
|
| 114 |
+
̈ 113
|
| 115 |
+
̌ 114
|
| 116 |
+
̓ 115
|
| 117 |
+
̔ 116
|
| 118 |
+
̧ 117
|
| 119 |
+
̨ 118
|
| 120 |
+
̵ 119
|
| 121 |
+
̶ 120
|
| 122 |
+
̽ 121
|
| 123 |
+
̾ 122
|
| 124 |
+
͂ 123
|
| 125 |
+
ͣ 124
|
| 126 |
+
ͤ 125
|
| 127 |
+
ͥ 126
|
| 128 |
+
ͦ 127
|
| 129 |
+
ͧ 128
|
| 130 |
+
ͨ 129
|
| 131 |
+
ͩ 130
|
| 132 |
+
ͪ 131
|
| 133 |
+
ͫ 132
|
| 134 |
+
ͬ 133
|
| 135 |
+
ͭ 134
|
| 136 |
+
ͮ 135
|
| 137 |
+
ͯ 136
|
| 138 |
+
Α 137
|
| 139 |
+
Β 138
|
| 140 |
+
Γ 139
|
| 141 |
+
Δ 140
|
| 142 |
+
Ε 141
|
| 143 |
+
Ζ 142
|
| 144 |
+
Η 143
|
| 145 |
+
Θ 144
|
| 146 |
+
Ι 145
|
| 147 |
+
Κ 146
|
| 148 |
+
Λ 147
|
| 149 |
+
Μ 148
|
| 150 |
+
Ν 149
|
| 151 |
+
Ξ 150
|
| 152 |
+
Ο 151
|
| 153 |
+
Π 152
|
| 154 |
+
Ρ 153
|
| 155 |
+
Σ 154
|
| 156 |
+
Τ 155
|
| 157 |
+
Υ 156
|
| 158 |
+
Φ 157
|
| 159 |
+
Χ 158
|
| 160 |
+
Ψ 159
|
| 161 |
+
Ω 160
|
| 162 |
+
α 161
|
| 163 |
+
β 162
|
| 164 |
+
γ 163
|
| 165 |
+
δ 164
|
| 166 |
+
ε 165
|
| 167 |
+
η 166
|
| 168 |
+
θ 167
|
| 169 |
+
ι 168
|
| 170 |
+
κ 169
|
| 171 |
+
λ 170
|
| 172 |
+
μ 171
|
| 173 |
+
ν 172
|
| 174 |
+
ο 173
|
| 175 |
+
π 174
|
| 176 |
+
ρ 175
|
| 177 |
+
ς 176
|
| 178 |
+
σ 177
|
| 179 |
+
τ 178
|
| 180 |
+
υ 179
|
| 181 |
+
χ 180
|
| 182 |
+
ω 181
|
| 183 |
+
ᛞ 182
|
| 184 |
+
ᵃ 183
|
| 185 |
+
ᵇ 184
|
| 186 |
+
ᵈ 185
|
| 187 |
+
ᵉ 186
|
| 188 |
+
ᵍ 187
|
| 189 |
+
ᵐ 188
|
| 190 |
+
ᵒ 189
|
| 191 |
+
ᵖ 190
|
| 192 |
+
ᵗ 191
|
| 193 |
+
ᵘ 192
|
| 194 |
+
ᶜ 193
|
| 195 |
+
ᶞ 194
|
| 196 |
+
ᶠ 195
|
| 197 |
+
ᶻ 196
|
| 198 |
+
᷑ 197
|
| 199 |
+
᷒ 198
|
| 200 |
+
ᷚ 199
|
| 201 |
+
ᷜ 200
|
| 202 |
+
ᷝ 201
|
| 203 |
+
ᷠ 202
|
| 204 |
+
ᷤ 203
|
| 205 |
+
ᷦ 204
|
| 206 |
+
ᷨ 205
|
| 207 |
+
ᷫ 206
|
| 208 |
+
ᷮ 207
|
| 209 |
+
ẜ 208
|
| 210 |
+
ẞ 209
|
| 211 |
+
† 210
|
| 212 |
+
‸ 211
|
| 213 |
+
⁊ 212
|
| 214 |
+
⁋ 213
|
| 215 |
+
⁜ 214
|
| 216 |
+
⁰ 215
|
| 217 |
+
ⁱ 216
|
| 218 |
+
⁴ 217
|
| 219 |
+
⁷ 218
|
| 220 |
+
⁹ 219
|
| 221 |
+
ⁿ 220
|
| 222 |
+
℥ 221
|
| 223 |
+
♡ 222
|
| 224 |
+
❧ 223
|
| 225 |
+
⟦ 224
|
| 226 |
+
⟧ 225
|
| 227 |
+
Ꝑ 226
|
| 228 |
+
ꝑ 227
|
| 229 |
+
ꝓ 228
|
| 230 |
+
ꝗ 229
|
| 231 |
+
Ꝙ 230
|
| 232 |
+
ꝙ 231
|
| 233 |
+
Ꝟ 232
|
| 234 |
+
ꝟ 233
|
| 235 |
+
ꝥ 234
|
| 236 |
+
ꝭ 235
|
| 237 |
+
Ꝯ 236
|
| 238 |
+
ꝯ 237
|
| 239 |
+
ꝰ 238
|
| 240 |
+
ꝵ 239
|
| 241 |
+
ꝷ 240
|
| 242 |
+
Ꞧ 241
|
| 243 |
+
242
|
| 244 |
+
243
|
| 245 |
+
244
|
| 246 |
+
245
|
| 247 |
+
246
|
| 248 |
+
247
|
| 249 |
+
248
|
| 250 |
+
249
|
|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
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6946999eedc1a7dbf9263e2161a9c7c24518d92bfe89383074b302785c2baa6
|
| 3 |
+
size 43382489
|
model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73323fbadaac87df634073e34de1b553b04b501e7c8ad2cfff0eee2725bc4f78
|
| 3 |
+
size 121881322
|
requirements.txt
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
imagesize==1.4.1
|
| 2 |
+
jsonargparse[signatures]==4.7
|
| 3 |
+
matplotlib==3.9.2
|
| 4 |
+
natsort==8.4.0
|
| 5 |
+
pytorch-lightning==1.4.2
|
| 6 |
+
scipy==1.11.3
|
| 7 |
+
textdistance==4.6.3
|
| 8 |
+
torch>=1.13,<1.14
|
| 9 |
+
torchaudio>=0.13,<0.14
|
| 10 |
+
torchmetrics<0.8.0
|
| 11 |
+
torchvision>=0.14,<0.15
|
| 12 |
+
mdutils==1.6.0
|
| 13 |
+
prettytable==3.11.0
|
| 14 |
+
python-bidi==0.6.0
|
| 15 |
+
pylaia==1.1.2
|
| 16 |
+
numpy==1.26.4
|
| 17 |
+
opencv-python==4.11.0.86
|
| 18 |
+
pillow==11.2.0
|
| 19 |
+
python-bidi==0.6.0
|
| 20 |
+
streamlit==1.44.0
|
| 21 |
+
transformers==4.50.3
|
| 22 |
+
ultralytics==8.3.99
|
| 23 |
+
gradio
|
| 24 |
+
supervision
|
runtime.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
python-3.10
|