adding ability to label rects in imgproc class