Live frames from IP Camera

6 Ansichten (letzte 30 Tage)
Zafer Orhan
Zafer Orhan am 16 Mär. 2016
Bearbeitet: Image Analyst am 18 Mär. 2016
Hi, How can i get the ip camera's frames for video processing?

Antworten (1)

Explorer am 16 Mär. 2016
Try this:
url = '';
ss = imread(url);
fh = image(ss);
ss = imread(url);
  3 Kommentare
Image Analyst
Image Analyst am 18 Mär. 2016
Bearbeitet: Image Analyst am 18 Mär. 2016
Are you on the same side of the router as your camera, or are you, say, at work and trying to access a camera attached to your home router? Is that URL the one the manufacturer or your ip camera told you to use? Did you try things like using http instead of rtsp, getting rid of av0_1, changing 554 to 8080, and those kinds of things?
Do you have the hardware support packages for a webcam installed, though I'm not sure they're needed (since you're using imread), but it can't hurt.
Here's a snippet from my webcam app:
% Make sure you run "supportPackageInstaller" and select installed "OS Generic Video Interface" and "USB Webcams" support packages.
% You can also get to this from the Home tab, the "Add-ons -> Get Hardware Support Packages" button.
% If you can't get it to run, make sure that the camera is seen by windows by looking in the "Imaging Devices" category in Device Manager.

Melden Sie sich an, um zu kommentieren.


Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by