added conditional print for file processing

This commit is contained in:
Nickiel12 2023-10-10 18:14:20 -07:00
parent ec4dec6dc9
commit dff604b66f

View file

@ -97,6 +97,8 @@ if args.training_data:
tmp, frm = cap.read() tmp, frm = cap.read()
height, width, channels = frm.shape height, width, channels = frm.shape
if (args.file):
print(f"Image is {height} tall and {width} wide")
frame_count = 0 frame_count = 0
start_timestamp = time.strftime("%Y%m%d-%H%M%S") start_timestamp = time.strftime("%Y%m%d-%H%M%S")
# print(f"{height*.25}, {width}") # print(f"{height*.25}, {width}")