Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Latest commit 3ee6a1e @danomatika Update master


Warning: This is not maintained. You are highly encouraged to use ofxIpVideoGrabber instead!


an ip camera grabber addon

Dan Wilcox 2010

GPL v3


ofxIpCamera is an Open Frameworks addon for Axis IP Cameras which should work with other, generic ip cameras

OpenFrameworks is a cross platform open source toolkit for creative coding in C++

See the OF forum post as well.


Download OpenFrameworks and unpack the ofxIpCamera source code into the apps folder to run the test app.

Furthermore, you can simply add the ofxIpCamera.h and ofxIpCamera.cpp to your own applciations.

To use ofxIpCamera, first you need to download and install Open Frameworks.

To get a copy of the repository you can download the source from or, alternatively, you can use git clone:

git clone git://

The addon should sit in openFrameworks/addons/ofxIpCamera/.

Which version to use?

If you are using a stable version (0062, 007, ...) of OpenFrameworks then you want to use a git tag of ofxIpCamera for that version. You can select the tag in the Github menu or clone and check it out using git.

For example, the following commands will clone ofxKinect and switch to the OF 0062 tagged version:

git clone git://
cd ofxIpCamera
git checkout 0062

Using the latest ofxIpCamera

The master branch of ofxIpCamera will work with the current master of OpenFrameworks and can be considered relatively stable.


Add your camera connection info into the testApp.cpp setup() function. Build and run the example app to test camera grabbing.


Make sure to init the grabber with your camera size, host uri, and authentication credentials:

cam.init(640, 360);
cam.setCredentials("user", "password");;

The grabber is threaded and will continually grab images after you call open(). You can also grab one image a time without running the thread by using grabFrame().


You can help develop ofxIpCamera on GitHub:

Create an account, clone or fork the repo, then request a push/merge.

If you find any bugs or suggestions please log them to GutHub as well.


  • testing with more ip cameras
  • multiple platform build files (Linux & Windows)
Something went wrong with that request. Please try again.