Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

OpenCV3 resize function does not work on Mat object

$
0
0
I want to resize an image: cv::Mat srcMat = cv::imread(file.toStdString()); cv::Mat tempMat; cv::resize(srcMat, tempMat, cv::Size(mRequiredSize.width ,mRequiredSize.height)); But I get the following error: :-1: error: trainer.o: undefined reference to symbol '_ZN2cv6resizeERKNS_11_InputArrayERKNS_12_OutputArrayENS_5Size_IiEEddi' /usr/local/lib/libopencv_imgproc.so.3.0:-1: error: error adding symbols: DSO missing from command line It seems that the resize arguments must be of `InputArray` and `OutputArray` type.

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>