read binary image python

31

img=cv2.imread('<image path>')

gray_img=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
img=cv2.imread('<image path>')gray_img=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)

Comments

Submit
0 Comments