Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

how to get video from ip camera using emgucv

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".

Question:

How could I display this from emgu?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...