mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-13 22:40:53 +08:00
Update rapidOCR.py
This commit is contained in:
1 file changed
-1
@@ -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],
|
||||
|
||||
Reference in new issue
Block a user