sort contours
1 | sort_contoursR(cnts, method = "left-to-right", hmax = 100, img_max_y)
|
cnts |
contours |
method |
'left-to-right' or 'bottom-to-top' |
hmax |
max height to include |
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.