Skip to content

Instantly share code, notes, and snippets.

@JayateerthDambal
Created November 28, 2020 12:51
Show Gist options
  • Save JayateerthDambal/d6ebb66e03cdba3868bdec232fb55830 to your computer and use it in GitHub Desktop.
Save JayateerthDambal/d6ebb66e03cdba3868bdec232fb55830 to your computer and use it in GitHub Desktop.
QRReader
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