统一照片脱敏的图片流转方式
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
from paddleocr import PaddleOCR
|
||||
|
||||
"""
|
||||
项目配置
|
||||
"""
|
||||
@@ -40,13 +38,3 @@ SIMILAR_CHAR = {
|
||||
"侯": ["候"],
|
||||
"宇": ["字"],
|
||||
}
|
||||
|
||||
# 如果不希望识别出空格,可以设置use_space_char=False。做此项设置一定要测试,2.7.3版本此项设置有bug,会导致识别失败
|
||||
OCR = PaddleOCR(
|
||||
gpu_id=0,
|
||||
show_log=False,
|
||||
det_db_thresh=0.1,
|
||||
det_db_box_thresh=0.3,
|
||||
det_limit_side_len=1248,
|
||||
drop_score=0.3
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user