View Single Post
  #1   Spotlight this post!  
Unread 23-02-2016, 21:32
szsz9 szsz9 is offline
Registered User
FRC #6000
 
Join Date: Feb 2016
Location: Los Angeles, CA
Posts: 5
szsz9 is an unknown quantity at this point
How to pause GRIP data input?

We are using GRIP for our image processing and we need to grab the information of a single contour. Currently it is not possible for us to eliminate all other contours, so instead we are using the largest contour to determine what the goal is.

We are currently finding the position of the largest contour in the array and finding that number value in another array (like center x, or height). This doesn't work because the smaller contours fluctuate a lot and the position of the goal/largest contour changes from the first time we get the data (area) to the second time we get the data (centerX, or height).

Is there any way to pause the input from the Network Tables? Or can we take a picture using the webcam and just analyze the picture?

Thanks