Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 example
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 COPYING
Octocat-spinner-32 README.markdown
README.markdown

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

ofxIpCamera

an ip camera grabber addon

Dan Wilcox 2010

GPL v3

DESCRIPTION

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.

BUILD REQUIREMENTS & INSTALLATION

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 http://github.com/danomatika/ofxIpCamera or, alternatively, you can use git clone:

git clone git://github.com/danomatika/ofxIpCamera.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://github.com/danomatika/ofxIpCamera.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.

BUILDING

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

USAGE

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

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

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().

DEVELOPING

You can help develop ofxIpCamera on GitHub: https://github.com/danomatika/ofxIpCamera

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.

FUTURE IDEAS/IMPROVEMENTS

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