I'm trying to read this directory of jpg
images and add them to a list but the list is empty when I run this code:
import glob
import cv2
cv_img = []
for img in glob.glob("E:/project/file/*.jpg"):
n= cv2.imread(img)
cv_img.append(n)
I'm trying to read this directory of jpg
images and add them to a list but the list is empty when I run this code:
import glob
import cv2
cv_img = []
for img in glob.glob("E:/project/file/*.jpg"):
n= cv2.imread(img)
cv_img.append(n)