draw and show rectangles on images