QR-Code-Scanner
QR-Code-Scanner copied to clipboard
I have an error: class "cv::DataType<cv::Point2f>" has no member "type"
Can somebody help me with this error?
Severity Code Description Project File Line Suppression State Error (active) E0135 class "cv::DataTypecv::Point2f" has no member "type" RGRtry D:\Labs\QR-Code-Scanner-master\src\Source\CodeFinder.cpp 554
You can try to replace the line
code.corners = Mat(4, 4, DataType<Point2f>::type);
with
code.corners = Mat(4, 4, CV_32FC2);
while CV_32FC2 should be the desired cv::Mat type.