Skip to content
Snippets Groups Projects
Commit af0848f9 authored by Low, Low Jian He (PG/R - Comp Sci & Elec Eng)'s avatar Low, Low Jian He (PG/R - Comp Sci & Elec Eng)
Browse files

fix fps

parent 14770d98
No related branches found
No related tags found
No related merge requests found
...@@ -96,6 +96,7 @@ def main(args, model, renderer, device): ...@@ -96,6 +96,7 @@ def main(args, model, renderer, device):
print(f"Total Time for Video to Image: {(time.time()-start_time)} Seconds") print(f"Total Time for Video to Image: {(time.time()-start_time)} Seconds")
else: else:
image_folder = Path(args.img_folder) image_folder = Path(args.img_folder)
fps = None
# Get all demo images ends with .jpg or .png # Get all demo images ends with .jpg or .png
img_paths = [img for end in args.file_type for img in image_folder.glob(end)] img_paths = [img for end in args.file_type for img in image_folder.glob(end)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment