Salmon-Computer-Vision / salmon-computer-vision

MIT License
8 stars 1 forks source link

Consider recording individual image frames instead of video files #43

Closed KamiCreed closed 1 year ago

KamiCreed commented 1 year ago

A major issue is using VideoWriter for hourly videos, since when you swap the hard disk, if the VideoWriter is not properly closed beforehand, that video being written will get corrupted, so potentially an hours worth of video is lost.

A better way may be to create image frame folders and save individual video frames as images. Image folders should still be easily imported in CVAT, but it could cause a larger explosion of data, since there won't be interpolated frames that come from being a video.

KamiCreed commented 1 year ago

This takes up too much disk space. Closing...