摘要:
#include #include using namespace cv; //-----------------------------------【main( )函数】-------------------------------------------- // 描述:控制台应用程序的入口函数,我们的程序从这里开始 //---------------------------... 阅读全文
摘要:
#include using namespace cv; //-----------------------------------【main( )函数】-------------------------------------------- // 描述:控制台应用程序的入口函数,我们的程序从这里开始 //--------------------------------... 阅读全文
摘要:
#include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" using namespace cv; //-----------------------------------【main( )函数】-------------------------------------------- // ... 阅读全文
摘要:
// 描述:包含程序所依赖的头文件 //---------------------------------------------------------------------------------------------- #include #include //-----------------------------------【命名空间声明部分】--------... 阅读全文
摘要:
int main() { // 【1】读入一张图片 Mat img = imread("1.jpg"); // 【2】在窗口中显示载入的图片 imshow("【载入的图片】",img); // 【3】等待6000 ms后窗口自动关闭 waitKey(6000); } 阅读全文
摘要:
linux 下编译一个cpp程序 执行 g++ my_code.cpp -o my_code 阅读全文