Yiru-Jiao / Reconstruct100CarNDSData

This repository reconstructs bird's eye view trajectories of vehicles involved in crashes and near-crashes from 100-Car Naturalistic Driving Study (NDS) radar data.
MIT License
8 stars 3 forks source link

Add Video Maker, Add SubFolders for Visualizer #2

Closed MuteJack closed 4 months ago

MuteJack commented 4 months ago
  1. visualiser.ipynb (edited)

    • Empty subfolder named 'Crash' and 'NearCrash' are added in 'visual_exmaples' folder
    • Those subfolders are for divide the Output folder by "Crash Types"
    • Output Path of 'visualiser.ipynb' is changed to save_dir = f'./visual_examples/{crash_type}/{trip_id}/'.
    • Now, 'visualiser.ipynb' will save the frames(event_{time}.jpg) to those SubFolders
  2. Video_Maker.ipynb (New)

    • Making Video Files from event_{time}.jpg files
Yiru-Jiao commented 4 months ago

Thanks for your contribution MuteJack, but I cannot accept your request. I made result files ignored with the intention to keep the code clean. You may reserve all the changes in your forked repo.

MuteJack commented 4 months ago

Oh I see. Actually, for research purposes, I was developing an accident scenario reconstruction program in Python/MatLab using the same dataset too. I made a pull request cause I thought maybe some of my scripts would be helpful.

Anyway, I was using NHTSA's CrashReport, but when I switched to this dataset, I got stuck in the data filtering part. and your script is helping me a lot. Thank you again.