Get contour info

Get the contour info, area and perimeter in JSON format