Quote:
Originally Posted by scottbot95
basicxman, I tried the code you suggested and I found that we were finding a ridiculous amount of rectangles(around 42 million). Do you have any idea why this is happening? Also, is there any documentation for the imaqDetectRectangles function?
|
Quote:
Originally Posted by RufflesRidge
You probably want to filter by brightness (luminance) or color (probably in HSL or HSV space) before trying to detect rectangles.
|
Aye, if you generate C code from Vision Assistant it will call imaqThreshold too - something I forgot about in my original snippet.