keep dilation as False
This commit is contained in:
parent
6ec9aa4def
commit
bbdbf598d4
|
@ -64,7 +64,7 @@ class TextDetector(object):
|
||||||
postprocess_params["box_thresh"] = args.det_db_box_thresh
|
postprocess_params["box_thresh"] = args.det_db_box_thresh
|
||||||
postprocess_params["max_candidates"] = 1000
|
postprocess_params["max_candidates"] = 1000
|
||||||
postprocess_params["unclip_ratio"] = args.det_db_unclip_ratio
|
postprocess_params["unclip_ratio"] = args.det_db_unclip_ratio
|
||||||
postprocess_params["use_dilation"] = True
|
postprocess_params["use_dilation"] = False
|
||||||
elif self.det_algorithm == "EAST":
|
elif self.det_algorithm == "EAST":
|
||||||
postprocess_params['name'] = 'EASTPostProcess'
|
postprocess_params['name'] = 'EASTPostProcess'
|
||||||
postprocess_params["score_thresh"] = args.det_east_score_thresh
|
postprocess_params["score_thresh"] = args.det_east_score_thresh
|
||||||
|
|
Loading…
Reference in New Issue