get bounding box of contour matrix
1 | boundingRect(cnt_mat, img_max_y)
|
cnt_mat |
contour matrix |
img_max_y |
the max y variable of image |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.