Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Saving image from Axis Camera (http://www.chiefdelphi.com/forums/showthread.php?t=94387)

Pmaxm00 07-04-2011 20:28

Saving image from Axis Camera
 
Is there a way to save images from the Axis Camera on the robot to the hard drive on the driver station? I've been very curious on how to do this, but I can't seem to figure it out properly :\ Any help would be useful. Thanks!

Joe Ross 07-04-2011 20:47

Re: Saving image from Axis Camera
 
The default dashboard does this automatically. Look at the Save DB Images vi. I believe the ZomB dashboard can do it also.

Pmaxm00 07-04-2011 21:06

Re: Saving image from Axis Camera
 
Save DB Images vi? whats that? sorry for not knowing :P

Greg McKaskle 09-04-2011 08:10

Re: Saving image from Axis Camera
 
The dashboard is open -- you can write your own, or change the code to the default one.

The default is written in LabVIEW. If you launch LabVIEW, the Getting Started window has a template for robot and for dashboard. Once a second, the dashboard saves one image to a jpg file. This is primarily for calibration samples. It is pretty each to change how many it keeps and how often it saves.

Greg McKaskle

byteit101 09-04-2011 09:23

Re: Saving image from Axis Camera
 
Quote:

Originally Posted by Joe Ross (Post 1050575)
I believe the ZomB dashboard can do it also.

Indeed it does, the image control (the eye in the toolbox) can save videos, right click it and say start saving, then later right click it and hit stop saving, or you can use triggers: add a Cmd button, select triggers, and guess and check on the control name, the second box should be StartSaving, or StopSaving. Our dashboard had some really nice videos (more to come soon).
It saves to C:\Program Files\ZomB\data as WebM videos (use ffmpeg or VLC to play/convert (both are installed with ZomB), open command prompt and enter this command to convert: ffmpeg -i "C:\Path\To\Capture.webm" -qscale 10 -an "C:\path\to\output.avi"
note the avi can be almost any video format, mp4, wmv, mov, etc...)


All times are GMT -5. The time now is 10:56.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi