yes convert to array. it more like if u want to convert a image to gray wit opencv
it will first read the image then convert it to gray by reducing the last column of the array
cv2.imread() which will convert it to array (233,44,1) and then onvert with another function