我在我的應用程序,它可以讀取在Visual Basic 2017 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If Environment.GetCommandLineArgs(1).ToString = My.Application.Info.DirectoryPath.To
我試過這個示例。它顯示紅色圖像 Mat img(400,400,CV_8UC3, Scalar(0,0,255));
imshow("lalala", img);
waitKey();
而這種代碼opennig網絡攝像頭它的工作: #include <opencv\cv.h>
#include <opencv\highgui.h>
using namespace cv;
int m