Remove contours/bounding rect with an area < n
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)
}