From fa10d8194a7d521d7b8b320568b5764995f449f0 Mon Sep 17 00:00:00 2001 From: liuyuanchuang Date: Sat, 7 Feb 2026 09:34:15 +0800 Subject: [PATCH] fix: downgrade threshold --- app/services/layout_detector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/layout_detector.py b/app/services/layout_detector.py index 3fb8918..d03ea6e 100644 --- a/app/services/layout_detector.py +++ b/app/services/layout_detector.py @@ -134,7 +134,7 @@ class LayoutDetector: ) ) - mixed_recognition = any(region.type == "text" and region.score > 0.85 for region in regions) + mixed_recognition = any(region.type == "text" and region.score > 0.6 for region in regions) return LayoutInfo(regions=regions, MixedRecognition=mixed_recognition)