VimbaPython
VimbaPython copied to clipboard
How to obtain frame timestamp?
We have tried to use frame.get_timestamp() and dividing this by the timestamp tick frequency. However there is drift in relation to the real-world time. What is the most accurate way to get the actual time when each frame was obtained?
Hi Emlyn, frame::timestamp is the camera timestamp from either start or end of exposure, depending on the camera model. The camera clocks of our GigE cameras can by synchronized by PTP: https://cdn.alliedvision.com/fileadmin/content/documents/products/cameras/various/appnote/GigE/PTP_IEEE1588_with_Prosilica_GT_GC_Manta.pdf I'd be happy to assist any further, please write to [email protected].
Hi,
I also try to calculate the timestamp for the frame. I get the timestamp from frame.get_timestamp() function however, don't know where I should look for the timestamp tick frequency. Note: I use USB camera not a GigE camera.
The tick frequency of Alvium USB cameras is 1 GHz, 1 tick = 1 ns.