I am reading one image using cv2.imread() function. I want to store image title that is 10_left.jpeg in one variable and that name write in one CSV file. code is as below:
import cv2
img = cv2.imread('home/pycharmprojects/diabetic/testing/10_left.jpeg')
print("shape of original image ",img.shape)
cv2.imshow('Orgninal Image',img)
cv2.waitKeyafter imshow.