|
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.
|