Skip to content

Commit

Permalink
Direct call to constructor removed.
Browse files Browse the repository at this point in the history
Resolved error: cannot call constructor ‘cv::QRCodeDetector::QRCodeDetector’ directly [-fpermissive]
  • Loading branch information
saumyakswain committed Feb 21, 2019
1 parent 1f57eec commit 427bc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QRCode-OpenCV/qrCodeOpencv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int main(int argc, char* argv[])
else
inputImage = imread("qrcode-learnopencv.jpg");

QRCodeDetector qrDecoder = QRCodeDetector::QRCodeDetector();
QRCodeDetector qrDecoder;

Mat bbox, rectifiedImage;

Expand Down

0 comments on commit 427bc2b

Please sign in to comment.