How can I iterate through a list of contours and remove any contours that don't have an area of at least n?
if contour(i).area < 500 {
contour.remove(i)
}
1 | initial version |
How can I iterate through a list of contours and remove any contours that don't have an area of at least n?
if contour(i).area < 500 {
contour.remove(i)
}
2 | retagged |
How can I iterate through a list of contours and remove any contours that don't have an area of at least n?
if contour(i).area < 500 {
contour.remove(i)
}