Using grip to find the targets


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?


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