Closed rampallishyam closed 10 months ago
Is this being followed?
The blur_videos.py script currently expects the videos to be named numerically [1.mp4, 111.mp4]
as in the readme
?
my video file name 1.mp4. Still the same error.
Hi, as I was unable to debug this error, I have developed my own code and trained my own model. You can find my work here: https://github.com/rampallishyam/PIIMask. Thanks for your support initially, anyway.
Got busy...Hmm. It seems like a directory structure issue. the split 'extracts' the pat, expecting 1st index.
Glad you got something working.
Good idea to check if the config file contains the right folder path, and then some workaround for Windows mentioned in https://github.com/varungupta31/dashcam_anonymizer/issues/7
Traceback (most recent call last): File "C:\Users\rampa\Documents\LocalFiles\Learning\CV algorithm\dashcam_anonymizer\blur_videos.py", line 45, in
videos = sorted(glob.glob(f"{config['videos_path']}/*.mp4"), key=sort_videos)
File "C:\Users\rampa\Documents\LocalFiles\Learning\CV algorithm\dashcam_anonymizer\blur_videos.py", line 43, in sort_videos
return int(item.split("/")[1].replace(".mp4",""))
IndexError: list index out of range