Pages

Monday, 30 September 2013

How to Get Real time Images Using Smart Phones (Android)

Step:1 Install  IP Webcam app in u r smart phone

Step:2 Go to IP cam Start server Open camera

Step:3 Get the IP From u r mobile and place it in code

Step:4 Write below code in Editor

url = 'http://0.0.0.0:8080/shot.jpg';
ss  = imread(url);
fh = image(ss);
while(1)
    ss  = imread(url);
    set(fh,'CData',ss);
    drawnow;
end
 U ll get a real time Images from u r mobile

----------------------------------------------------------------------------------------------------------
Enjoy