|
Re: How do you draw a bounding box using GRIP?
To draw a bounding box between two contours, you would just have to pick points on the contours and feed them into the boundingRect() method. Alternatively, you can draw it onto an existing Mat with the Imgproc.Rectangle() method. My team did this in our GRIP Camera code, however it is generated and not deployed to the Rio. Feel free to take a look at it here.
__________________
The opinions expressed in this post are mine and do not necessarily reflect those of my team.
Last edited by Bradley Boxer : 28-01-2017 at 15:32.
Reason: grammar
|