View Full Version : Getting Line Lengths from vision sample
Thad House
12-03-2012, 19:58
We are currently trying to do work on our camera code, and a piece of data we would like to know would the the height of the left and right lines of the rectangle for the target. We use the vision sample code. would we be able to get this piece of data?
Greg McKaskle
13-03-2012, 08:12
There are a number of threads from earlier in the season that discuss this. Generally, once you have a bounding box, you can further inspect the contents of the box with other tools. For example, you can use an edge detector near the left and right edges of the bounding box to find the lengths. You can alternately, use the geometric fit routines to identify lines in the image.
Greg Mckaskle
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.