fix test_hubserving (#2071)
This commit is contained in:
parent
e083b9c228
commit
c3d700fa41
|
@ -64,8 +64,7 @@ def draw_server_result(image_file, res):
|
||||||
scores.append(res[dno]['confidence'])
|
scores.append(res[dno]['confidence'])
|
||||||
boxes = np.array(boxes)
|
boxes = np.array(boxes)
|
||||||
scores = np.array(scores)
|
scores = np.array(scores)
|
||||||
draw_img = draw_ocr(
|
draw_img = draw_ocr(image, boxes, texts, scores, drop_score=0.5)
|
||||||
image, boxes, texts, scores, draw_txt=True, drop_score=0.5)
|
|
||||||
return draw_img
|
return draw_img
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue