Glob Baca banyak gambar
import glob
import cv2
images = [cv2.imread(file) for file in glob.glob("path/to/files/*.png")]
FriedOxygen
import glob
import cv2
images = [cv2.imread(file) for file in glob.glob("path/to/files/*.png")]