Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronize a gyro sensor with a video camera

Hello,

 

I going to start a project on real-time video stabilization based on gyro sensor.

 

I am planning to use a video camera which does not contain an external trigger.

 

does anyone have an idea in order to synchronize the image frames with the data from the gyro sensor.

 

Thanks in advance

0 Kudos
Message 1 of 4
(4,365 Views)

Hello,

Which precision do you want? If you have no way to frame trigger your camera, then you will be dependant on the frame rate.

If your camera is, let say 30Hz, then your precision will be of about 1/30s.

Then maybe your camera provide timestamps in the images. You can use this to synchronise with other datas.

Regards

NTA_LabView_certified_Developper.jpg
0 Kudos
Message 2 of 4
(4,361 Views)

 

Thank you, but your proposed solution is not clear for me.

even the timestamps from images, I think they are not synchronized with other devices timestamps. am I right !

would you please tell me again your proposed solution in another way.

Thanks

0 Kudos
Message 3 of 4
(4,338 Views)

Hi tahraoui,

 

If you are ok with your camera and gyro having a fixed, but non-zero, phase difference, then you can route the VSYNC signal (called "Vertical Synchronization Signal" in the IMAQ Trigger Drive VI) from the IMAQ board which is acquiring from the camera across a RTSI line to the DAQ board that is acquiring data from the gyro, and use that signal as the start trigger for the gyro acquisition.

 

The VSYNC signal is generated by the camera, which typically will generate it after the exposure, and routed through the IMAQ board, which will induce a board-specific group delay.  As a result, the trigger you see on the RTSI line will lag the start of the exposure time by some period of time, but for many applications, it is possible to calibrate that delay out.

 

-Jeff

 

0 Kudos
Message 4 of 4
(4,333 Views)