mbuckler / youtube-bb

Public repo for helpful scripts when using the YouTube Bounding Boxes dataset
MIT License
193 stars 57 forks source link

Switch to threads, and a tiny efficiency improvement in the parser #10

Closed sampsyo closed 7 years ago

sampsyo commented 7 years ago

This also includes an exception handler for the futures, which should catch dumb mistakes such as not having ffmpeg installed. 😇

sampsyo commented 7 years ago

I added one more commit with another slightly obsessive efficiency improvement: this converts the timestamp to an int "on the fly" to avoid needing multiple passes over the full CSV data before and after sorting.