Skip to content

Commit 0a85036

Browse files
authored
Update barcode_scanner.py
1 parent f4b8782 commit 0a85036

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

barcode_scanner/barcode_scanner.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55

66
def barcode(decoded, image):
7-
imge = cv2.rectangle(image, (decoded.rect.left, decoded.rect.top),
8-
(decoded.rect.left + decoded.rect.width, decoded.rect.top + decoded.rect.height), color=(0, 255, 0), thickness=5)
7+
imge = cv2.rectangle(image, (decoded.rect.left,
8+
decoded.rect.top), (decoded.rect.left + decoded.rect.width,
9+
decoded.rect.top + decoded.rect.height), color=(0, 255, 0), thickness=5)
910
return imge
1011

1112

0 commit comments

Comments
 (0)