Thread Subject: how to get live streaming from IP camera into matlab

Subject: how to get live streaming from IP camera into matlab

From: Muhammad

Date: 3 Dec, 2009 14:30:19

Message: 1 of 2

hi i have Prolink PIC1002 camera and i want to get MJPEG format live streaming video into matlab. No SDK is provided and live streaming can be viewed in any web browser having activex or java supported into a special browser window...

PLZ HELP ME....................................

Subject: how to get live streaming from IP camera into matlab

From: Sadik

Date: 6 Dec, 2009 09:00:21

Message: 2 of 2

Hello Muhammad,

I do not have much experience on this sort of stuff, but I had a friend using the following piece of code to get streaming data out of a cam.

Hope this helps.

Best.


====================================================
cam=imaqhwinfo
cam.InstalledAdaptors

vid=videoinput('winvideo',1);
triggerconfig(vid,'manual');%sets the object to manual triggering(immediate type)
set(vid,'FramesPerTrigger',1);%decides the number of frames you want to capture
set(vid,'TriggerRepeat',Inf);%decides the number of frames you want to process in your program

start(vid);

% Then, in a for loop, he was capturing one image at a time:
for counter = 1:N
    trigger(vid);%help to get the image when you use manual triggering.
    im=getdata(vid,1);%access these frames
end

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
java Muhammad 3 Dec, 2009 09:34:24
streaming Muhammad 3 Dec, 2009 09:34:24
activex Muhammad 3 Dec, 2009 09:34:24
matlab Muhammad 3 Dec, 2009 09:34:24
ip camera Muhammad 3 Dec, 2009 09:34:23
rssFeed for this Thread

Contact us at files@mathworks.com