Ask Your Question

How is the width and height of x,y,w,h=boundingRect(c) determined?

asked 2020-04-27 12:02:17 -0500

I have looked everywhere online, and everywhere I look I see that boundingRect outputs the x,y positions of the top left corner of the contour and the width (w), and height (h) are determined from that point. I want to know what determines what the width and height are? How does boundingRect() work? If that information is online somewhere, I have not been able to find it using google.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-04-27 12:19:19 -0500

OpenCV is open source. Look at the source file.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-04-27 12:02:17 -0500

Seen: 217 times

Last updated: Apr 27 '20