View Single Post
  #4   Spotlight this post!  
Unread 01-12-2013, 04:13 AM
sretter's Avatar
sretter sretter is offline
Registered User
AKA: Shaked
FRC #2231 (OnyxTronix)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Shoham
Posts: 33
sretter is on a distinguished road
Re: Accessing camera output

If you are using Java I'll assume you are suing the SmartDashboard, then you can make a extension which extends the WPICameraExtension, and then you can overide the process image method- using rawImage.drawPolygon(I think there a more methods you can use tlike drawLine or drawRectangle) and then return the new rawImage.
This way you will have whatever shape you pick on the camera Image and the video running behind it
Reply With Quote