RoboCup-SSL / ssl-vision

Shared Vision System For The RoboCup Small Size League
GNU General Public License v3.0
88 stars 109 forks source link

Implemented nonstop recording and writing at limited FPS. Current problem : small stutter when writing. #193

Closed emielsteerneman closed 1 year ago

emielsteerneman commented 2 years ago

This PR adds a second recording mode to SSL-Vision. This mode records frames and accompanying detection frames nonstop, and immediately writes these to disk. An optional (and enabled by default) FPS limiter will prevent the PC from being flooded with write operations.

Currently, whenever an image is written, there is a small stutter in that camera its thread. The writing should be done in a different thread. Because of the stutter, this feature is currently unusable for actual Robocup matches.