Created
November 28, 2020 12:51
-
-
Save JayateerthDambal/d6ebb66e03cdba3868bdec232fb55830 to your computer and use it in GitHub Desktop.
QRReader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
def qrReader(img): | |
img = cv2.imread(img) | |
reader = cv2.QRCodeDetector() | |
data, bbox, _ = reader.detectAndDecode(img) | |
return data | |
print(qrReader('QrCode.png')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment