read the image using opencv