Una*_*dra 3 c++ linux ubuntu opencv
构建我的代码(下面)返回error 'imread' is not a member of 'cv'.
我在用:
main.cpp中:
#include <opencv/cv.h>
int main(int argc, char **argv) {
cv::Mat src = cv::imread("frame_original.png", 0);
return 0;
}`
Run Code Online (Sandbox Code Playgroud)
我需要包含什么来使cv :: imread工作?
imread是OpenCV 2.1的一部分:http://opencv.willowgarage.com/documentation/cpp/highgui_reading_and_writing_images_and_video.html?highlight = imread #imread 但是我的系统在哪里?我需要包括什么?哪里可以找到告诉我OpenCV需要哪个头文件才能使用特定功能的文档?
| 归档时间: |
|
| 查看次数: |
3802 次 |
| 最近记录: |