optimize: formula is recognize text

This commit is contained in:
2026-03-12 22:30:27 +08:00
parent 11e9ed780d
commit ff82021467
2 changed files with 4 additions and 4 deletions

View File

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