How to access video from a remote camera?

Hello, I was hoping somebody could throw some light on how to access video from a remote camera (it is stationed outside our campus). I can access the video via IP address but how can I process the video using Matlab functions? Thank You Radha

回答(2 个)

Quick question though it might sound a little bit silly.Are you authorized to access that camera ???

4 个评论

Yes, I am authorized to access the camera. :)
Sorry for the delay I did not see your message.
Well can you save that video via IP address or do you have to process it in real time ?
Try looking at Image Acquisition Tool Box and also at Image Acquisition Tool
<http://www.mathworks.com/help/toolbox/imaq/brchlaj.html>
Once you have the video you can treat every frame as an image and apply your code normally on each frame.Let me know if you need any help.
hello Harsha,
My application requires me to process the video in real time. I tried Image Acquisition Tool Box but Matlab does not recognize any device other than the webcam.
I am currently trying the TCP/IP function under Instruments and control Tool Box in Matlab.
Do you know how to connect to a network camera using Instrument Control Toolbox? Thanks!!

请先登录,再进行评论。

5 个评论

Thank You Chirag...I shall look into this.
Did you ever find a solution for processing the IP camera realtime? My project is requiring me to do a similar process and the smartphone method doesn't exactly work for our cameras, but it does work for my iphone only with the app provided...
James, your situation involves a camera that is not directly accessible, connecting to a networked frame-grabber that emits a streaming format that does not appear to be directly supported. You are not going to be able to connect to your camera, only to the frame-grabber device, and you will need some kind of intermediate process to decode the unsupported streaming format.
Thanks for the response. We have the frame-grabber device and the intermediate process to decode the streaming format in the works. What we are still missing somewhere is exactly how we could get the Frames from the frame grabber through the use of MATLAB. We have access to the Image Acquisition Toolbox and i'm sure the solution is in there somewhere, but we seem to be missing it. Would you happen to know how this is done?
Do you know how to connect to a network camera using Instrument Control Toolbox? Thanks!! For example, the ip addresss of my camera is 192.168.3.253,and my PC connects to the camera with a simple net cable( UTP=UNSHIELDED TWISTED PAIR )

请先登录,再进行评论。

提问:

2011-7-6

评论:

2014-4-28

Community Treasure Hunt

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

Start Hunting!

Translated by