feat: 同步报销流程与工作台改动

This commit is contained in:
caoxiaozhu
2026-06-09 08:32:00 +00:00
parent e124e4bbcb
commit 25724c354f
64 changed files with 6518 additions and 687 deletions

View File

@@ -248,6 +248,7 @@ class OcrService:
return "|".join(
[
self.settings.ocr_language,
self.settings.ocr_device,
self.settings.ocr_text_detection_model,
self.settings.ocr_text_recognition_model,
digest,
@@ -333,6 +334,9 @@ class OcrService:
"--text-recognition-model",
self.settings.ocr_text_recognition_model,
]
configured_device = str(self.settings.ocr_device or "").strip()
if configured_device:
command.extend(["--device", configured_device])
for path in input_paths:
command.extend(["--input", str(path)])