VimbaPython icon indicating copy to clipboard operation
VimbaPython copied to clipboard

How to obtain frame timestamp?

Open emlynjdavies opened this issue 4 years ago • 3 comments

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?

emlynjdavies avatar Mar 17 '21 14:03 emlynjdavies

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].

nordeh avatar Mar 17 '21 16:03 nordeh

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.

ibrahimovnijat avatar Jun 02 '22 11:06 ibrahimovnijat

The tick frequency of Alvium USB cameras is 1 GHz, 1 tick = 1 ns.

nordeh avatar Jun 02 '22 12:06 nordeh