1 | initial version |
If by any chance, you are the same person as the question about the banana plant vegetation, then please stick to a single topic and direct the two questions to that, since they are heavily related.
Like mentioned in that topic, look at the findcontour function, by first creating a binary mask and then looking for contours. The contours then provide an area functionality.