fix: downgrade threshold

This commit is contained in:
liuyuanchuang
2026-02-07 09:34:15 +08:00
parent 05a39d8b2e
commit fa10d8194a

View File

@@ -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)