A work around for those with Camera problems - You can use your camera phone with simplecv.

801 views
Skip to first unread message

Anthony Oliver

unread,
Nov 16, 2011, 9:56:56 AM11/16/11
to simp...@googlegroups.com
So another way, I guess we haven't really demo'd or mentioned much is the ability for SimpleCV to work with smart phones and IP Cameras (those cheap security cameras) out of the box.
Now getting it work is quite easy, the only thing required on your part is figuring out where the video stream URL is located because of course each manufacturer has their own method.

I only have an android phone so I don't know of equivalent software, but what I use for android is:

It will tell you when you open the app where the stream is located, basically you open it in a browser and may have to dig around, in my case it was:

That is the IP address of my cell phone on my local wifi network (same one as the computer running SimpleCV).
Once you know that URL you are all set.  The code to get images from the phone is just:

cam = JpegStreamCamera("http://192.168.1.21:8080/videostream")
img = cam.getImage()
img.show()


Now some of the software and IP cameras themselves require a username and password, to connect to those it's just:

img = cam.getImage()
img.show()



*please note: Not all IP cameras or software works.  If yours does or doesn't please update the WIKI at:

Rishi Mukherjee

unread,
Mar 18, 2012, 3:13:35 PM3/18/12
to simp...@googlegroups.com
Awesome help. Thank You. My hp-dv6 laptop's webcam does not work. This one is awesome.

Rishi Mukherjee

unread,
Mar 19, 2012, 2:28:52 AM3/19/12
to simp...@googlegroups.com
 It is actually working when I type this "cam = JpegStreamCamera("http://192.168.65.101:8080/videofeed". Maybe the IP Camera of android has changed from videostream to videofeed.
Reply all
Reply to author
Forward
0 new messages