added get labeled_img fixed missing minsize