added logging

This commit is contained in:
2024-04-29 16:12:09 +02:00
parent d15113ed0a
commit 8a7dc71f0e

View File

@ -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}')