martinwholtmon / IT3920-2024-Master-MSIT

Master project for MSIT 2024 - Towards Efficient Human Action Recognition: The Role of Keyframe Selection in Video Processing
MIT License
0 stars 0 forks source link

load frames.csv while training to defined the avaiable frames #94

Closed martinwholtmon closed 3 months ago

martinwholtmon commented 4 months ago

Following #93, we have to implement functionality to support this frames.csv. This will essentially tell the frame sampler that these are the frames that are available instead of using all the frames in the video. This means that we will ONLY sample from the keyframes if this csv file is EXPLICITLY provided. It does not load it implicitly.

Format for the csv:

video_id.mp4 1 22 34
video_id2.mp4 12 24 35

This should be stored in a CSV file, either at the root level of the dataset or provided as a full path to the frame.csv file.