调整检测阈值

This commit is contained in:
2024-07-25 14:36:01 +08:00
parent ef1d20ab7e
commit faf3c33733
2 changed files with 2 additions and 2 deletions

View File

@@ -31,4 +31,4 @@ SIMILAR_CHAR = {
}
# 如果不希望识别出空格可以设置use_space_char=False。做此项设置一定要测试2.7.3版本此项设置有bug会导致识别失败
OCR = PaddleOCR(use_angle_cls=False, show_log=False, det_db_box_thresh=0.3, det_limit_side_len=1248, drop_score=0.3)
OCR = PaddleOCR(use_angle_cls=False, show_log=False, det_db_box_thresh=0.1, det_limit_side_len=1248, drop_score=0.3)