View Single Post
  #4   Spotlight this post!  
Unread 11-05-2013, 21:12
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
Re: Getting axis camera image on desktop.

I had the idea of copying the address of the in browser image and using it in processing too. Unfortunately, I found that it is an mjpg and Processing cannot load mjpgs.

HOWEVER!!! I went out hunting and found this. It seems I am not the first to want axis camera images in processing. The library worked flawlessly and the image came up. My elation at seing something work on the first try was unbelievable.

The process to make it work is simple:

install the library.

Open the camera in browser.

Right click on the live image -> copy image URL.

open the example sketch that comes with IPCapture

replace the address in
Code:
cam = new IPCapture(this, "http://212.219.113.227/axis-cgi/mjpg/video.cgi", "", "");
with whatever is in your clipboard from the earlier copy you did.

Run it!
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
Reply With Quote