View Single Post
  #2   Spotlight this post!  
Unread 28-01-2017, 12:05
Sl3dman's Avatar
Sl3dman Sl3dman is offline
Registered User
FRC #1339 (Angelbots)
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2015
Location: Colorado
Posts: 6
Sl3dman is an unknown quantity at this point
Re: How do you draw a bounding box using GRIP?

So we are using the GRIP generated code on our roboRIO and we encountered the same problem. We tried blurring the image to turn what we detected into one large blob, but that didn't work as well as we had hoped. What we settled on was looking at each of the contours and then averaging the x values of both in order to find the x coordinates between the pieces of tape.
__________________
"It works when its not broken."
Reply With Quote