未验证 提交 c3d700fa 编写于 作者: X xiaoting 提交者: GitHub

fix test_hubserving (#2071)

上级 e083b9c2
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册