Update rapidOCR.py

This commit is contained in:
SWHL authored and GitHub committed 2021-12-03 22:19:44 +08:00
1 parent aea4252a5a
commit 2a4f66b759
1 file changed
-1
-1
View File
@@ -89,7 +89,6 @@ def draw_ocr_box_txt(image, boxes, txts,
color = (random.randint(0, 255),
random.randint(0, 255),
random.randint(0, 255))
print(box)
draw_left.polygon(box, fill=color)
draw_right.polygon([box[0][0], box[0][1],
box[1][0], box[1][1],