View Single Post
  #1   Spotlight this post!  
Unread 29-01-2014, 00:29
NWChen's Avatar
NWChen NWChen is offline
Alum
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: New York City
Posts: 205
NWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to behold
How to access Axis camera feed with OpenCV

Our team had some trouble accessing our IP camera's stream in OpenCV, so here's what we did in case other teams are having similar issues.

We are using OpenCV-2.4.8 and JavaCV-0.7.

Code:
IPCameraFrameGrabber grabber = new IPCameraFrameGrabber("http://YOUR_CAMERA'S_IP_ADDRESS/axis-cgi/mjpg/video.cgi?resolution=480x360&fps=INSERT_FPS_HERE");
grabber.start();
For example, our team (2601) has the following URL:
Code:
http://10.26.1.11/axis-cgi/mjpg/video.cgi?resolution=480x360&fps=100
Hope this helps.
Reply With Quote