added logging
This commit is contained in:
@ -249,6 +249,7 @@ class LoadImages:
|
|||||||
else:
|
else:
|
||||||
# Read image
|
# Read image
|
||||||
self.count += 1
|
self.count += 1
|
||||||
|
print("Grayscale image loading...")
|
||||||
im0 = cv2.imread(path, cv2.IMREAD_GRAYSCALE) # BGR
|
im0 = cv2.imread(path, cv2.IMREAD_GRAYSCALE) # BGR
|
||||||
if im0 is None:
|
if im0 is None:
|
||||||
raise FileNotFoundError(f'Image Not Found {path}')
|
raise FileNotFoundError(f'Image Not Found {path}')
|
||||||
|
Reference in New Issue
Block a user