From c3d700fa41c248046169a9a40ed8aaa84a11747a Mon Sep 17 00:00:00 2001 From: xiaoting <31891223+tink2123@users.noreply.github.com> Date: Mon, 22 Feb 2021 17:23:55 +0800 Subject: [PATCH] fix test_hubserving (#2071) --- tools/test_hubserving.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/test_hubserving.py b/tools/test_hubserving.py index 05487264..3beb4965 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 -- GitLab