diff --git a/tools/test_hubserving.py b/tools/test_hubserving.py index f28ff39e441e9f0d8a4c6e1081827daf8aff9792..c34c1aeb90c0854cdb861f49ee3cf4ebe85c9f0e 100644 --- a/tools/test_hubserving.py +++ b/tools/test_hubserving.py @@ -63,8 +63,7 @@ def draw_server_result(image_file, res): scores.append(res[dno]['confidence']) boxes = np.array(boxes) scores = np.array(scores) - draw_img = draw_ocr( - image, boxes, texts, scores, draw_txt=True, drop_score=0.5) + draw_img = draw_ocr(image, boxes, texts, scores, drop_score=0.5) return draw_img