feat: update threshold

This commit is contained in:
liuyuanchuang
2026-02-07 13:26:57 +08:00
parent de66ae24af
commit d86107976a
2 changed files with 1 additions and 6 deletions

View File

@@ -134,7 +134,7 @@ class LayoutDetector:
)
)
mixed_recognition = any(region.type == "text" and region.score > 0.6 for region in regions)
mixed_recognition = any(region.type == "text" and region.score > 0.3 for region in regions)
return LayoutInfo(regions=regions, MixedRecognition=mixed_recognition)