diff --git a/tools/test_hubserving.py b/tools/test_hubserving.py index 0548726417699855a3905fa1a3fb679d69c85fc8..3beb49653421717ddc5ded9bde8f942c895e4631 100755 --- a/tools/test_hubserving.py +++ b/tools/test_hubserving.py @@ -64,8 +64,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