feat(ocr): full OCR pipeline with polygon annotations, training, and guided mode #232

Merged
marcel merged 40 commits from feat/issue-226-227-ocr-pipeline-polygon into main 2026-04-14 10:31:35 +02:00
Showing only changes of commit 8dec5b5976 - Show all commits

View File

@@ -366,7 +366,8 @@ async def train_model(
os.makedirs(checkpoint_dir, exist_ok=True)
cmd = [
"ketos", "train",
"ketos", "--workers", "0",
"train",
"-f", "path",
"-o", checkpoint_dir,
"-q", "fixed",
@@ -456,7 +457,8 @@ async def segtrain_model(
os.makedirs(checkpoint_dir, exist_ok=True)
cmd = [
"ketos", "segtrain",
"ketos", "--workers", "0",
"segtrain",
"-o", checkpoint_dir,
"-q", "fixed",
"-N", "50",