需额外添加
#include <opencv2/highgui/highgui_c.h>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui_c.h>
using namespace cv; // 包含cv命名空间
using namespace std;
#define FileName "IMAGE_VIEW"
HWND hWnd = (HWND)cvGetWindowHandle(FileName);
需额外添加
#include <opencv2/highgui/highgui_c.h>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui_c.h>
using namespace cv; // 包含cv命名空间
using namespace std;
#define FileName "IMAGE_VIEW"
HWND hWnd = (HWND)cvGetWindowHandle(FileName);