fix: downgrade threshold
This commit is contained in:
@@ -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)
|
return LayoutInfo(regions=regions, MixedRecognition=mixed_recognition)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user