We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 458c886 + 2754dca commit 87251aaCopy full SHA for 87251aa
qrcode.py
@@ -0,0 +1,7 @@
1
+#importing Required Modules
2
+import qrcode
3
+
4
+#QR Code Generator
5
+query = input("Enter Content: ") #Enter Content
6
+code = qrcode.make(str(query)) #Making the QR code
7
+code.save("qrcode.png") #Saving the QR code file
qrdecoder.py
@@ -0,0 +1,10 @@
+#Importing Required Modules
+import cv2
+#QR Code Decoder
+image = cv2.imread(filename) #Enter name of the image
+detector = cv2.QRCodeDetector()
8
+data, vertices_array, binary_qrcode = detector.detectAndDecode(image)
9
+if vertices_array is not None:
10
+ print(data)
0 commit comments