View Single Post
  #2   Spotlight this post!  
Unread 29-01-2015, 21:19
MatthewC529 MatthewC529 is offline
Lcom/mattc/halp;
AKA: Matthew
FRC #1554 (Oceanside Sailors)
Team Role: Mentor
 
Join Date: Feb 2014
Rookie Year: 2013
Location: New York
Posts: 39
MatthewC529 is on a distinguished road
Re: Vision Processing in Java

I was having fun re-writing their CameraServer and making a Camera API (with functions like the ones you are describing but more generalized) and was lucky enough to find this early on:

http://www.ni.com/pdf/manuals/371266e.pdf

It describes several examples and stuff that doesn't pertain to finding a Yellow Tote's center, but helpful nonetheless. Look around for NIVision IMAQdx and NIVision imaq references and documentation. It's bothersome because the Java NIVision wrapper is completely undocumented and 30,000+ lines long but it contains a lot.

Note: Not all NIVision functions are available in the Java Wrapper.

I have not done so but looking at WPILib's vision processing classes may be helpful. I am not sure but I believe you can access documentation through the start menu if you have NIVision installed. I do most of my development at home so I have not check on the team laptop.
__________________
Team 1554 -- Oceanside Sailors
  • 2013-2014 - Lead/Sole Programmer
  • 2014-2015 - Lead Programmer, President
  • 2015-? - Team 1554 Mentor
Independent Public Projects

Developer at Legend Zero LLC.
Java/C++ Programmer
Reply With Quote