delete debug

This commit is contained in:
LDOUBLEV 2022-10-09 10:10:05 +08:00
parent 81e4c3d821
commit 9919cb71d1

View File

@ -268,7 +268,7 @@ class TextDetector(object):
post_result = self.postprocess_op(preds, shape_list)
dt_boxes = post_result[0]['points']
print("det_boxes", dt_boxes)
if (self.det_algorithm == "SAST" and self.det_sast_polygon) or (
self.det_algorithm in ["PSE", "FCE", "CT"] and
self.postprocess_op.box_type == 'poly'):