SpectacularAI / sdk-examples

Spectacular AI SDK examples
Apache License 2.0
202 stars 35 forks source link

How to specify FPS in sai-cli record oak command #138

Closed genkv closed 1 month ago

genkv commented 1 month ago

Is there anyway we can set frame rate when using sai-cli record oak to record? I looked through the help outputs and didn't find an option. Default FPS is set at 30, while most OAK-D devices support 60fps. Because I'm also using the recorded video for other CV purposes. Thank you!

genkv commented 1 month ago

Update: I see that in cli/record/oak.py, frame rate is hardcoded as 30. Maybe modify this file and call the api?