pyfly2
pyfly2 copied to clipboard
Set Frame Rate
Hi,
Does anyone know how to set frame rate via coding? I need only 5 FPS for my applications and every time I start the camera, need to do it manually via FlyCap2 GUI.
Thanks
Caio
Hi, I already opened an issue for this (issue #10 ). Sadly no answer yet. What I do is I open the manufacturer software flycap2 and in the camera control dialog, I change manually the frame rate as desired. Not really satisfying.
Maxime
Thanks Maxine,
This was my workaround as well, but I need something more stable. I switched to a mix of C++ and python, not really pretty but is working better for me.
Cheers
Caio
Can you eventually share your mixture or explain briefly ? Maxime
Basically it is a python script that writes the C++ source, compiles and runs it. Not the most beautiful thing ever, but works.
https://github.com/caiostringari/PhD/blob/master/videocapture/capture.py
Cheers,
Caio
Thank you, I appreciate your contribution. In french we would say "méthode bourrin". Respect for your pugnacity, Maxime