Created by: wangxinxin08
when shape_type is rectangle, the shape points of labelme is not strictly following the format [[x1, y1], [x2, y2]]