We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44fb652 commit c005580Copy full SHA for c005580
1 file changed
my10-识别二维码/QR_Scaner1.py
@@ -15,8 +15,8 @@
15
16
def main():
17
fp = 'macbookPro.jpg'
18
- # img = Image.open(fp)
19
- # img.show()
+ # image = Image.open(fp)
+ # image.show()
20
image = cv2.imread(fp)
21
barcodes = decode(image)
22
decoded = barcodes[0]
@@ -51,7 +51,7 @@ def main():
51
52
# show the output image
53
cv2.imshow("Image", image)
54
- cv2.imwrite('macbook_qr_rect.jpg', image)
+ # cv2.imwrite('macbook_qr_rect.jpg', image)
55
cv2.waitKey(0) # 按任意键退出
56
57
0 commit comments