added logging

single_channel
Samuel Dobron 7 months ago
parent d15113ed0a
commit 8a7dc71f0e
Signed by: xdobro23
GPG Key ID: 5C0F45DB63204F86

@ -249,6 +249,7 @@ class LoadImages:
else:
# Read image
self.count += 1
print("Grayscale image loading...")
im0 = cv2.imread(path, cv2.IMREAD_GRAYSCALE) # BGR
if im0 is None:
raise FileNotFoundError(f'Image Not Found {path}')

Loading…
Cancel
Save