Text this: Mathematical modeling for contour identification based on medicinal leaves and GIS images