how to get video from ip camera using emgucv

后端 未结 2 1634
无人共我
无人共我 2020-12-11 11:09

Summary:

I\'m trying to get video from IP camera in emgu, I could display video in the browser from an ip like \"http://169.254.255.253\".

<

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-11 11:28

    If you are using Emgu 3.1 then try this:

    Capture cameraCapture
    cameraCapture = new Capture("http://user:passwd@http://169.254.255.253");
    Mat frame = cameraCapture.QueryFrame();
    imageBox1.Image = frame;
    

    here is the Capture Class Reference:

    http://www.emgu.com/wiki/files/3.1.0/document/html/5edc4ff8-cec3-c5ee-8e62-629cf4c7940a.htm

    Hope it helps.

提交回复
热议问题