View Single Post
  #3   Spotlight this post!  
Unread 16-03-2013, 10:07
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Axis 206 camera on computer only

Our team's vision processing runs solely on the laptop, and periodically saves stills. We do this by extending SmartDashboard's WPICameraExtension class, doing image processing with OpenCV in the processImage() method and sending data back to the robot via NetworkTables. To save stills, it periodically spawns off a low-priority thread which saves a timestamped jpg. If you want to know how to make a WPICameraExtension with OpenCV processing, check out Miss Daisy's 2012 vision code. For saving an image, you can just use Java's javax.imageio.ImageIO class.
__________________
I code stuff.