|
Re: cRIO Vision Targeting - Please Help!
The rectangular target vision processing vi is a sample code to demonstrate pre-built vision processing techniques. You can work with this code directly if you incorporate into your program. It includes 3 different algorithms you can experiment with to locate the rectangle. The output of the vision processing is written to a global variable that you can access anywhere in your code. The output includes the x, y coord of the center of the rectangle with respect to the center of the camera's field of view along with a calc. distance to target.
The vision assistant is a utility provided by National Instruments that allows you to build your own algorithm. When it is done, it includes a vi code generator. Search NI website for the vision assistant tutorial if you are interested in going this route.
__________________
Jeff Beltramo
Team #1922
Concord, New Hampshire
|