View Single Post
  #2   Spotlight this post!  
Unread 01-02-2012, 16:27
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: how to use openCV?

Just to make you aware, ColorImage and Binary image implement a number of features that you would likely have in your NI Vision Assistant generated code in a c++ interface that is much cleaner, we gutted most of the code out of the vision assist generated stuff except for the convex hull and the particle filter; the threshold and particle analysis are both done in the C++ outside. (we also switched the vision assist file to a cpp file to evade some big errors)

I wouldn't worry to much about trying to fully understand the inards of the generated code, just because C code is written much differently, and maybe confusing to the students. Simply minimize how much of it you are using, make sure they understand what is in the generated code, how it was created from the script, and how to interface with it.

Edit: Also, if you plan to do vision processing on the driver station, I've been told that competition network can be an issue with the added latency.