Using grip to find the targets

Hi,

We are using GRIP for our vision processing, I can filter out the blobs really well. I am just trying to track the blobs and get vertices on them. Does anyone have any ideas?

Thanks,

Brayden Coyer
Team 4381

By converting the blobs into contours, you can then draw bounding boxes around them. The bounding boxes have properties including x, y coordinates, and box width.

Rect r = Imgproc.boundingRect(pipeline.filterContoursOutput().get(0));

Screensteps has example code using this found here https://wpilib.screenstepslive.com/s/4485/m/24194/l/674733-using-generated-code-in-a-robot-program