I am writing a C++ program to test on reading QRCode, and here is my very little code fragment:
cv::Mat m = cv::imread("fail.png"); cv::QRCodeDetect