Skip to content

Commit a442805

Browse files
Merge pull request #1415 from Rohanrbharadwaj/patch-3
Update qrdecoder.py
2 parents 87251aa + fde1901 commit a442805

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qrdecoder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
#QR Code Decoder
55

6+
filename = input()
67
image = cv2.imread(filename) #Enter name of the image
78
detector = cv2.QRCodeDetector()
89
data, vertices_array, binary_qrcode = detector.detectAndDecode(image)
910
if vertices_array is not None:
10-
print(data)
11+
print(data)

0 commit comments

Comments
 (0)