title: OpenCV can't decode QR Code version 5 and above using python
body: <p>In addition to the fact that the image is too large and can't be decoded by OpenCV, even the QR code version 5 and above can't be decoded too. Does anyone know the reason?</p>
  <p>OpenCV version : 4.5.5</p>
  <p>Python version : 3.7</p>
  <p>QR Code image</p>
  <p><a href="https://i.stack.imgur.com/Ytu7p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ytu7p.png" alt="enter image description here" /></a></p>
  <pre><code>inputImage = cv2.imread(&quot;./qrcodeimg/version5.png&quot;)
  qrDecoder = cv2.QRCodeDetector()
  data, bbox, rectifiedImage = qrDecoder.detectAndDecode(inputImage)
  </code></pre>
  <p>I got the data is none</p>
  <pre><code>('', None, None)
  </code></pre>