title: OpenCv QR-Code is detected but can't be decoded
body: <p>I wrote a simple QrCode detection and decode code with OpenCV.<br>
  But the problem I'm facing is that the QR code gets detected but can't be decoded with the following image (see bottom).</p>
  
  <p>The code I wrote looks like this: </p>
  
  <pre><code>int main(int argc, char* argv[])
  {
     cv::Mat src = imread("scaled.png");
  
     if(src.empty())
     {
        cout &lt;&lt; "can not open " &lt;&lt; "Picture" &lt;&lt; endl;
        return -1;
     }
  
     QRCodeDetector qrDecoder = QRCodeDetector();
  
     std::string data;
  
     data = qrDecoder.detectAndDecode(src);
  
     if(data.length()&gt;0)
     {
         cout &lt;&lt; "data: " &lt;&lt; data;     //data should be STOP 
     }
  
     return 0;
     }
  </code></pre>
  
  <p>Does somebody know why the QR code can be detected but not decoded ? </p>
  
  <p>Here the image I used: </p>
  
  <p><a href="https://i.stack.imgur.com/pjhyz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pjhyz.jpg" alt="enter image description here"></a></p>
  
  <p>Edit: 
  I've searched a little more about QR code detection with OpenCv and found these to code snippets from: <a href="https://docs.opencv.org/3.4.9/de/dc3/classcv_1_1QRCodeDetector.html" rel="nofollow noreferrer">https://docs.opencv.org/3.4.9/de/dc3/classcv_1_1QRCodeDetector.html</a></p>
  
  <pre><code>setEpsX(double epsX)
  setEpsY(double epsY)
  </code></pre>
  
  <p>unfortunately the documentation is very bad so those somebody know what these 2 parameters are and if they can fix my problem ? </p>