Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Mostrar en un Axes una imágen ubicada en internet

Asked by DeunidO

DeunidO (view profile)

on 1 Feb 2013

Buenas tardes. Necesito saber como mostrar una imágen en un axes, sacada de una ipcam (Cámara conectada a internet que por medio de una dirección web va mostrando una imágen) que se actualiza cada segundo. ¿Es posible?

La dirección es del tip:

http://xxx.xxx.xxx.xxx/anony/mjpg.cgi

Muchas gracias

1 Comment

bym

bym (view profile)

on 2 Feb 2013

Good afternoon. I need to know how to display an image in an axes, taken from a ipcam (camera connected to internet via a web address is showing an image) that is updated every second. Is it possible?

DeunidO

DeunidO (view profile)

Tags

1 Answer

Answer by Image Analyst

Image Analyst (view profile)

on 2 Feb 2013
Edited by Image Analyst

Image Analyst (view profile)

on 2 Feb 2013

Yes it is. Get the Image Acquisition Toolbox. Then just start a loop where inside the loop you have a call to getsnapshot() and pause(1).

1 Comment

DeunidO

DeunidO (view profile)

on 2 Feb 2013

Sorry but, getsnapshot() don't work with a web page. I need to open a web page with image in a axes. Like this:

while 1

     axes(handles.Webcam1);
     Direc= get(handles.Web1,'String'); %cgi web page
     ?????  % To show the image in the current axes
 end

I detected, the problem is the camera have a cgi program like this:

http://xxx.xxx.xxx.xxx/anony/mjpg.cgi

Is posible show this in one axes???

Thanks

Image Analyst

Image Analyst (view profile)

Contact us