OpenCV之QT版本的圖像顯示
1.QT配置
INCLUDEPATH += XXX\\install\\x64\\mingw\\bin \
XXX\\install\\include\\opencv2 \
XXX\\install\\include
CONFIG(debug, debug|release): {
LIBS += XXX\\install\\x64\\mingw\\lib\\libopencv_*.a
} else:CONFIG(release, debug|release): {
LIBS += XXX\install\\x64\\mingw\lib\\libopencv_*.a
}
2.頭文件包含
#include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>