adding rectangle and imgproc