From da60d9ea90e640b2786f7a7036960bc8f09fb141 Mon Sep 17 00:00:00 2001 From: littletomatodonkey Date: Sat, 24 Apr 2021 07:32:21 +0000 Subject: [PATCH] fix db post for whl --- paddleocr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddleocr.py b/paddleocr.py index 016b00c1..c5da7248 100644 --- a/paddleocr.py +++ b/paddleocr.py @@ -193,6 +193,7 @@ def parse_args(mMain=True, add_help=True): parser.add_argument("--det_db_box_thresh", type=float, default=0.5) parser.add_argument("--det_db_unclip_ratio", type=float, default=1.6) parser.add_argument("--use_dilation", type=bool, default=False) + parser.add_argument("--det_db_score_mode", type=str, default="fast") # EAST parmas parser.add_argument("--det_east_score_thresh", type=float, default=0.8) @@ -241,6 +242,7 @@ def parse_args(mMain=True, add_help=True): det_db_box_thresh=0.5, det_db_unclip_ratio=1.6, use_dilation=False, + det_db_score_mode="fast", det_east_score_thresh=0.8, det_east_cover_thresh=0.1, det_east_nms_thresh=0.2, -- GitLab