0
我有下面的代碼在通常的窗口形成具有EmguCV 3.1EmguCV不讀相機
public Form1()
{
InitializeComponent();
_capture = new Capture("http://root:[email protected]:80/axis-cgi/mjpg/video.cgi");
_capture.ImageGrabbed += ProcessFrame;
}
private void Form1_Load(object sender, EventArgs e)
{
_capture.Start();
}
private void ProcessFrame(object sender, EventArgs e)
{
Mat image = new Mat();
_capture.Retrieve(image);
imageBox1.BackgroundImage = image.Bitmap;
}
我已經測試在它的工作一個瀏覽器上面的鏈接應用程序,我還測試此使用ISPY它也在那裏工作,但使用EmguCV ProcessFrame從未達到
我也試圖連接到使用Luxand相機和它的工作很好,但Luxand是不是免費的,所以我必須使用EmguCV做的人臉檢測&識別