the following python script I want to convert using opencv python, how do I make it converted?
script: scipy.misc.imread(path, mode='RGB').astype(np.float)
I want to convert it using cv2 and what would be alternative for astype(np.float) with this?
import cv2
import scipy.misc
img = scipy.misc.imread(path, mode='RGB').astype(np.float)