Answers.Body: <p>You probably will not achieve a 100% perfect result with your setup. That you got them synced to a 1FPS accuracy is pretty amazing actually.</p>
  
  <p>Professional stereo setups use frame locking in hardware to ensure the cameras record in perfect sync.
  This is not possible with ordinary webcams. If you fix the recorded video in post you can get to less than 1/RecordingFPS'th of a second accuracy which can be enough depending on your framerate. The higher your framerate the smaller the offset will be.</p>
  
  <p>If the webcams offer some sort of low level api you might be able to improve the results even further but I doubt thats available, thats usually something you only get in (rather expensive) industrial cameras.</p>
  
  <p><strong>Edit:</strong> Regarding your edit, Genlocking is the way to go with pretty much any video application if you need 100% sync (or as close as possible to that, you will always have some nano/microsecond delay between frames).</p>
  
  <p>Being it syncing videos displayed on a display wall (all these individual displays need to show the correct portion of the frame at the same time). Or recording with multiple cameras the same frame at the same time.
  Resolution isn't a factor here.</p>
  
  <p>Though price definitely is. Do you have a budget for this project or is this for hobby purposes? There are definitely (non-cinema) cameras that would support this though they are not exactly cheap as a webcam.
  The cheapest solution I can think of is using the GoPro Stereo Rig. <a href="http://gopro.com/camera-accessories/dual-hero-system" rel="nofollow">http://gopro.com/camera-accessories/dual-hero-system</a>
  This would put you at a budget of 1000$ in total (minus a few cents). Not exactly cheap but definitely affordable.</p>
  
  <p>And the GoPro is also a very flexible solution. You can shoot from 3840x2160@15FPS to 848x480@240FPS. It also supports raw HDMI output which can be helpful if color precision is desirable or live monitoring of your shoot.</p>
  
  <p>A downside is that the GoPro has a fish-eye lens. You can reduce the distortion by setting the camera viewing mode to narrow and using this <a href="https://github.com/KonradIT/MagicLanternGoPro/tree/master/GoProHERO3%2BBlack/FisheyeRemoval" rel="nofollow">nifty software hack</a> but you wont get fully rid of it unless you <a href="http://peauproductions.com/store/index.php?main_page=index&amp;cPath=124_126_127" rel="nofollow">replace the lens</a>.</p>
  
  <p><strong>Edit 2:</strong> If you go the "build your own electronics route" you should have a look at the ArduCam project. It's essentially a shield for the popular Arduino boards. It allows you to connect several cmos modules like the OV5642 which is a 5MP sensor that is also used in the Raspberry Pi camera module.</p>
  
  <p>According to <a href="http://www.raspberrypi.org/forums/viewtopic.php?f=43&amp;t=48238" rel="nofollow">this thread</a> on the RaspberryPi forum these modules support genlocking.
  While its not possible with the pins broken out on the PiCam module (though there are some ideas about how to do genlocking with it on the last page) you can order these modules cheap (25$) from ebay and use them with the ArduCam board. Even if you don't connect the modules to the same oscillator to do genlocking you should get some pretty good results as you work pretty close metal here also the Arduino plattform is very easy to use.</p>
  
  <p>With such a setup you could potentially make a 1080p stereo 3D rig for around 125$.
  50$ for the cmosm modules, ~16$ for 2 Arduino Uno clones and 60$ for 2 ArduCam shields. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-06T16:39:57.693Z
Answers.Text: I made an edit to my question adding some hardware hacking possibilities in case you are interested in replying.
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-06T20:05:21.320Z
Answers.Text: @Kozuch: edited my answer
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-06T20:41:28.337Z
Answers.Text: Thanks for elaboration :). I have some budget (say $ thousands) but I am trying to develop cheap solutions for possible community project. The GoPro Stereo is very interesting because of a very commodity hardware. I guess the housing is not necessary - you only need to connect 2 HERO3+ BE with a (proprietary?) sync cable? Though something cheaper would still be nice. I probably need to get into HW hacking/development because the NerdCam1 is what I actually need (though it has not open PCB schematics probably)... But NerdCam1 seems to have very lousy resolution, I need a sharp 1 Mpix at least.
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-06T21:09:14.293Z
Answers.Text: If you want to go the self made electronics route (actually not as hard as one might think) I added some usefull info.
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-08T08:00:57.997Z
Answers.Text: Thanks for a great edit. Am I right that the Arduino solution will save video or stills in perfect sync when fed with same external clock signal and ext. triggered via GPIO? Where will I feed the clock signal into on CMOS module? What HW do I need for it or can I get it from Arduino boards themselves? The application will be mobile stereo road/terrain scanner from a passenger car moving up to say 100 km/h so other issue could be rolling shutter but I understand I wont get global shutter cheaply. I hope on short enough exposure time to minimize this or simply reducing vehicle speed. I will ...
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-08T08:01:22.793Z
Answers.Text: Continued: also need to fuse GPS/IMU sensor data within some sync into the image/video stream to make corrections of visual odometry - there comes my initial idea of doing all these in C++. Later DGPS/RTK level GPS should be used. Ordinary GPS will only have 10 Hz anyway but that should be enough in the beginning. Could I save the GPS data somewhere in some sync along with the image stream with Arduino? Arduino GPS tutorial doesnt look very difficult. This GPS thing is likely off-topic here - do you have any suggestions for better place to ask? I struggle with being off-topic on whole SE.
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-08T12:17:00.493Z
Answers.Text: If you have a fast moving vehicle I would really recommend a GoPro at high-frame rates.
  Regarding " will save video or stills in perfect sync when fed with same external clock signal and ext. triggered via GPIO" yes afaik, regarding the GPS/IMU thing, not an issue with Arduino, actually pretty easy.
  The shields wills save the video to the SD card, where you can also save your sensor data).
  Though regarding all these electronic questions I recommend go to http://electronics.stackexchange.com/. Its exactly for these kind of questions.
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-08T19:03:08.170Z
Answers.Text: You might want to post a link to the EE thread if you ask about how to do the genlocking on these boards.
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-09T08:29:27.283Z
Answers.Text: Thank you for your great help so far. Just a side question: the GoPro stereo sync only works with Black Edition units right? This is pushing the cost higher because I need neither very high FPS nor high resolution. I am fine with 10 FPS and 1-2 Mpix. Also GPS/IMU fusion with GoPro would be a challenge? I will test the severity of rolling shutter really hoping it wont be that bad. Finally, I am continuing the journey on EE with following HW post: http://electronics.stackexchange.com/questions/124596/genlock-2-ov5642-camera-modules-on-arducam
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-09T09:45:08.270Z
Answers.Text: Yet another question about GoPro DUAL System camera compatibility: http://video.stackexchange.com/questions/12346/gopro-hero-dual-3d-stereo-system-only-compatible-with-black-edition-units
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-10T08:06:47.130Z
Answers.Text: According to this answer http://electronics.stackexchange.com/a/124628/29812 and this blog http://vanceance.blogspot.co.at/2014/02/arducam.html it seems that ArduCam might only be able to take stills 10s apart (0.1 FPS) and also has no video capture feature.
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-10T12:57:09.853Z
Answers.Text: I guess I got fooled by all these timelapes videos and the live video function of some of the shield variants.
  Then I guess your other option would be to do the exact same thing with the PiCam and 2 Raspberry Pis like suggested in the last page of the thread, it should theoretically work by giving both pi cam modules the same clock source. They haven't tried it but its worth a shot I guess, that solution would total to 130$ or 120$ if you choose the Infrared Camera module (which might be more suited for computer vision depending your environment)
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-10T13:01:58.597Z
Answers.Text: http://www.raspberrypi.org/product/camera-module/
   - http://ex-en.alliedelec.com/search/results.aspx?term=raspberry+pi
   - http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=48238&sid=0c5ae07959126a05850dfe1bdf1bede1&start=26
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-11T15:46:06.813Z
Answers.Text: There is a follow-up question about frame synchronizing Raspberry Pi stereo camera: http://raspberrypi.stackexchange.com/questions/22696/stereo-camera-frame-synchronization-genlock-video-or-still-image
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-11T15:50:02.830Z
Answers.Text: You might want to cross post the question to EE aswell. The RPi SE is great but more about the more basic things you can do with the Pi and more software focused, not sure you will get a good answer there.
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-11T18:33:32.590Z
Answers.Text: Ok, good idea. Here we go: http://electronics.stackexchange.com/questions/124812/raspberry-pi-stereo-camera-frame-synchronization-genlock-video-or-still-image
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-22T07:55:55.890Z
Answers.Text: New task: I need to do my computer vision processing live and not in post-processing. I need the video signal on a strong x86 machine. I see two options for this: 1: HDMI capture. Feed HDMI out of either RPi, CHDK/SDM (StereoData Maker 1.86 can do video sync!) or GoPro to HDMI capture PCI-E card (Blackmagic Design has some, though getting stereo input is questionable). Data hopefully could be accessed in C+. 2: Custom stereo USB device (two cameras on single USB cable) - tough HW design and assembly, custom PCB for 2 CMOS modules + USB driver needed (=expensive). Could you comment the ideas?
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-04T12:16:40.723Z
Answers.LastActivityDate: 2014-08-06T23:15:16.900Z
Answers.LastEditDate: 2014-08-06T23:15:16.900Z
Answers.UserDisplayName: timonsku
Body: <p>I am trying to capture stereo video with 2 Microsoft LifeCam Studio USB webcams.  Thus far, the best approach I've managed to come up with is my own tool written using OpenCV to capture video streams from the cameras in Ubuntu 14.04. I am using very simple VideoCapture code (<a href="http://pastebin.com/siUbeqqB" rel="nofollow noreferrer">source here</a>) and am trying to at least view two videos that are synchronized against each other.</p>
  
  <p>I used Android stopwatch apps (<a href="https://play.google.com/store/apps/details?id=spinninghead.talkingstopwatchlite" rel="nofollow noreferrer">UltraChron Stopwatch Lite</a> and <a href="https://play.google.com/store/apps/details?id=com.hybrid.stopwatch" rel="nofollow noreferrer">Stopwatch Timer</a>) on my Samsung Galaxy S3 mini to realize that my viewed images are out of sync (show different time on stopwatch).</p>
  
  <p>The frames are synced maybe in 50% of the time. The frame time differences I get are from 0 to about 300ms with an average about 120ms. It seems that the amount of timeout used has very little effect on sync (same for 1000ms or 2000ms). I run in FullHD but lowering resolution to 640x480 had no effect.</p>
  
  <p>I am trying to record stereo video with a low cost setup.  An ideal result would be a 100% synchronized stereo video stream that has about 10 FPS.  Are there any alternative approaches that would result in better synchronization?</p>
  
  <p><strong>EDIT</strong>: In my search for low-cost hardware I fount that it is probably possible to do some commodity hardware hacking (<a href="http://letsmakerobots.com/node/29869" rel="nofollow noreferrer">link here</a>) and inject a single clock signal into multiple camera modules simultaneously to get the desired sync. The guy who did that seems to have developed his <a href="http://letsmakerobots.com/blog/antennna/nerdcam1-something-i-have-been-waiting" rel="nofollow noreferrer">GENLOCKed camera board (called NerdCam1)</a> and even a <a href="http://www.themissinggear.eu/nerdcam3d-mk-1/" rel="nofollow noreferrer">synced stereo camera board</a> that he now sells for about €200.</p>
  
  <p>However, I have almost zero ability of hardware hacking. Also I am not sure if such clock injection is possible for resolutions above NTSC/PAL standard (as it seems to be an "analog" solution?). Also, I would prefer a variable baseline option where both cameras would not be soldered on a single board.</p>
  
  <p>Also found this related post: <a href="https://video.stackexchange.com/questions/3983/cheap-solution-for-shooting-with-multiple-2-cameras-in-sync-genlock-or-lanc">Cheap solution for shooting with multiple (>2) cameras in sync
     (genlock or LANC?)</a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-04T13:18:27.480Z
Comments.Text: I tried to minimize the waitKey timeout (using 1ms for the loop to work) and check every 100th loop iteration to save the still pair. I still get sometimes about as many as 12ms delay from the first camera to the second... I guess I need a better stopwatch since these are often not readable in the frames while redrawing numbers (or my shutter times are too long).
Comments.UserDisplayName: Kozuch
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-06T12:54:00.720Z
Comments.Text: There was a bit of discussion about this question between the mods and we agreed to keep it closed though essentially the question isn´t really off-topic but your focus is very heavily on computer vision. Asking about how to do snyc'ed stereo video is totally on-topic here, you just have to make the question a bit more general.
  If you edit the question to reflect that I gladly re-open it.
  Otherwise if you definitely need a programmatic approach with webcams the question might be better suited for SO.
Comments.UserDisplayName: timonsku
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-06T14:06:45.317Z
Comments.Text: I reworded the question to omit the CV topic. I would be happy for this to re-open. Please feel free to edit the question to get a desired video-topic.
Comments.UserDisplayName: Kozuch
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-06T15:46:09.560Z
Comments.Text: I removed some of the code heavy parts, added a bottom line to the question, opened the question up for different camera solutions than webcams and re-opened. 
  The fact that you were focusing on webcams, coding in OpenCV and live viewing of your cameras made it quite unusable for anything else video production related but computer vision (which is not on-topic here but on SO)
  
  Does that still reflect your question?
Comments.UserDisplayName: timonsku
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-06T15:48:45.950Z
Comments.Text: Thanks for an edit. Yes I only need to record synced stereo video, that is the main goal.
Comments.UserDisplayName: Kozuch
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-10T08:08:55.167Z
Comments.Text: I changed the "X FPS" requirement to a more concrete "10 FPS".
Comments.UserDisplayName: Kozuch
Tags: <video-recording><sync><stereo>
Title: Low cost frame synchronized (genlocked) 3D stereo camera
UserDisplayName: Kozuch
ThreadText: # Low cost frame synchronized (genlocked) 3D stereo camera
  
  (Asked by: username_0 on 2014-08-04)
  
  I am trying to capture stereo video with 2 Microsoft LifeCam Studio USB webcams. Thus far, the best approach I've managed to come up with is my own tool written using OpenCV to capture video streams from the cameras in Ubuntu 14.04. I am using very simple VideoCapture code ([source here](http://pastebin.com/siUbeqqB)) and am trying to at least view two videos that are synchronized against each other.
  
  I used Android stopwatch apps ([UltraChron Stopwatch Lite](https://play.google.com/store/apps/details?id=spinninghead.talkingstopwatchlite) and [Stopwatch Timer](https://play.google.com/store/apps/details?id=com.hybrid.stopwatch)) on my Samsung Galaxy S3 mini to realize that my viewed images are out of sync (show different time on stopwatch).
  
  The frames are synced maybe in 50% of the time. The frame time differences I get are from 0 to about 300ms with an average about 120ms. It seems that the amount of timeout used has very little effect on sync (same for 1000ms or 2000ms). I run in FullHD but lowering resolution to 640x480 had no effect.
  
  I am trying to record stereo video with a low cost setup. An ideal result would be a 100% synchronized stereo video stream that has about 10 FPS. Are there any alternative approaches that would result in better synchronization?
  
  **EDIT**: In my search for low-cost hardware I fount that it is probably possible to do some commodity hardware hacking ([link here](http://letsmakerobots.com/node/29869)) and inject a single clock signal into multiple camera modules simultaneously to get the desired sync. The guy who did that seems to have developed his [GENLOCKed camera board (called NerdCam1)](http://letsmakerobots.com/blog/antennna/nerdcam1-something-i-have-been-waiting) and even a [synced stereo camera board](http://www.themissinggear.eu/nerdcam3d-mk-1/) that he now sells for about €200.
  
  However, I have almost zero ability of hardware hacking. Also I am not sure if such clock injection is possible for resolutions above NTSC/PAL standard (as it seems to be an "analog" solution?). Also, I would prefer a variable baseline option where both cameras would not be soldered on a single board.
  
  Also found this related post: [Cheap solution for shooting with multiple (>2) cameras in sync
  (genlock or LANC?)](https://video.stackexchange.com/questions/3983/cheap-solution-for-shooting-with-multiple-2-cameras-in-sync-genlock-or-lanc)
  
  **Tags:** video-recording, sync, stereo
  
  > **Comments:**
  > **username_0**: I tried to minimize the waitKey timeout (using 1ms for the loop to work) and check every 100th loop iteration to save the still pair. I still get sometimes about as many as 12ms delay from the first camera to the second... I guess I need a better stopwatch since these are often not readable in the frames while redrawing numbers (or my shutter times are too long).  
  > **username_1**: There was a bit of discussion about this question between the mods and we agreed to keep it closed though essentially the question isn´t really off-topic but your focus is very heavily on computer vision. Asking about how to do snyc'ed stereo video is totally on-topic here, you just have to make the question a bit more general. If you edit the question to reflect that I gladly re-open it. Otherwise if you definitely need a programmatic approach with webcams the question might be better suited for SO.  
  > **username_0**: I reworded the question to omit the CV topic. I would be happy for this to re-open. Please feel free to edit the question to get a desired video-topic.  
  > **username_1**: I removed some of the code heavy parts, added a bottom line to the question, opened the question up for different camera solutions than webcams and re-opened.  The fact that you were focusing on webcams, coding in OpenCV and live viewing of your cameras made it quite unusable for anything else video production related but computer vision (which is not on-topic here but on SO)  Does that still reflect your question?  
  > **username_0**: Thanks for an edit. Yes I only need to record synced stereo video, that is the main goal.  
  > **username_0**: I changed the "X FPS" requirement to a more concrete "10 FPS".  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-08-04. Score: 3
  
  You probably will not achieve a 100% perfect result with your setup. That you got them synced to a 1FPS accuracy is pretty amazing actually.
  
  Professional stereo setups use frame locking in hardware to ensure the cameras record in perfect sync.
  This is not possible with ordinary webcams. If you fix the recorded video in post you can get to less than 1/RecordingFPS'th of a second accuracy which can be enough depending on your framerate. The higher your framerate the smaller the offset will be.
  
  If the webcams offer some sort of low level api you might be able to improve the results even further but I doubt thats available, thats usually something you only get in (rather expensive) industrial cameras.
  
  **Edit:** Regarding your edit, Genlocking is the way to go with pretty much any video application if you need 100% sync (or as close as possible to that, you will always have some nano/microsecond delay between frames).
  
  Being it syncing videos displayed on a display wall (all these individual displays need to show the correct portion of the frame at the same time). Or recording with multiple cameras the same frame at the same time.
  Resolution isn't a factor here.
  
  Though price definitely is. Do you have a budget for this project or is this for hobby purposes? There are definitely (non-cinema) cameras that would support this though they are not exactly cheap as a webcam.
  The cheapest solution I can think of is using the GoPro Stereo Rig. <http://gopro.com/camera-accessories/dual-hero-system>
  This would put you at a budget of 1000$ in total (minus a few cents). Not exactly cheap but definitely affordable.
  
  And the GoPro is also a very flexible solution. You can shoot from 3840x2160@15FPS to 848x480@240FPS. It also supports raw HDMI output which can be helpful if color precision is desirable or live monitoring of your shoot.
  
  A downside is that the GoPro has a fish-eye lens. You can reduce the distortion by setting the camera viewing mode to narrow and using this [nifty software hack](https://github.com/KonradIT/MagicLanternGoPro/tree/master/GoProHERO3%2BBlack/FisheyeRemoval) but you wont get fully rid of it unless you [replace the lens](http://peauproductions.com/store/index.php?main_page=index&cPath=124_126_127).
  
  **Edit 2:** If you go the "build your own electronics route" you should have a look at the ArduCam project. It's essentially a shield for the popular Arduino boards. It allows you to connect several cmos modules like the OV5642 which is a 5MP sensor that is also used in the Raspberry Pi camera module.
  
  According to [this thread](http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=48238) on the RaspberryPi forum these modules support genlocking.
  While its not possible with the pins broken out on the PiCam module (though there are some ideas about how to do genlocking with it on the last page) you can order these modules cheap (25$) from ebay and use them with the ArduCam board. Even if you don't connect the modules to the same oscillator to do genlocking you should get some pretty good results as you work pretty close metal here also the Arduino plattform is very easy to use.
  
  With such a setup you could potentially make a 1080p stereo 3D rig for around 125$.
  50$ for the cmosm modules, ~16$ for 2 Arduino Uno clones and 60$ for 2 ArduCam shields.
  
  > **Comments:**
  > **username_0**: I made an edit to my question adding some hardware hacking possibilities in case you are interested in replying.  
  > **username_1**: @username_0: edited my answer  
  > **username_0**: Thanks for elaboration :). I have some budget (say $ thousands) but I am trying to develop cheap solutions for possible community project. The GoPro Stereo is very interesting because of a very commodity hardware. I guess the housing is not necessary - you only need to connect 2 HERO3+ BE with a (proprietary?) sync cable? Though something cheaper would still be nice. I probably need to get into HW hacking/development because the NerdCam1 is what I actually need (though it has not open PCB schematics probably)... But NerdCam1 seems to have very lousy resolution, I need a sharp 1 Mpix at least.  
  > **username_1**: If you want to go the self made electronics route (actually not as hard as one might think) I added some usefull info.  
  > **username_0**: Thanks for a great edit. Am I right that the Arduino solution will save video or stills in perfect sync when fed with same external clock signal and ext. triggered via GPIO? Where will I feed the clock signal into on CMOS module? What HW do I need for it or can I get it from Arduino boards themselves? The application will be mobile stereo road/terrain scanner from a passenger car moving up to say 100 km/h so other issue could be rolling shutter but I understand I wont get global shutter cheaply. I hope on short enough exposure time to minimize this or simply reducing vehicle speed. I will ...  
  > **username_0**: Continued: also need to fuse GPS/IMU sensor data within some sync into the image/video stream to make corrections of visual odometry - there comes my initial idea of doing all these in C++. Later DGPS/RTK level GPS should be used. Ordinary GPS will only have 10 Hz anyway but that should be enough in the beginning. Could I save the GPS data somewhere in some sync along with the image stream with Arduino? Arduino GPS tutorial doesnt look very difficult. This GPS thing is likely off-topic here - do you have any suggestions for better place to ask? I struggle with being off-topic on whole SE.  
  > **username_1**: If you have a fast moving vehicle I would really recommend a GoPro at high-frame rates. Regarding " will save video or stills in perfect sync when fed with same external clock signal and ext. triggered via GPIO" yes afaik, regarding the GPS/IMU thing, not an issue with Arduino, actually pretty easy. The shields wills save the video to the SD card, where you can also save your sensor data). Though regarding all these electronic questions I recommend go to http://electronics.stackexchange.com/. Its exactly for these kind of questions.  
  > **username_1**: You might want to post a link to the EE thread if you ask about how to do the genlocking on these boards.  
  > **username_0**: Thank you for your great help so far. Just a side question: the GoPro stereo sync only works with Black Edition units right? This is pushing the cost higher because I need neither very high FPS nor high resolution. I am fine with 10 FPS and 1-2 Mpix. Also GPS/IMU fusion with GoPro would be a challenge? I will test the severity of rolling shutter really hoping it wont be that bad. Finally, I am continuing the journey on EE with following HW post: http://electronics.stackexchange.com/questions/124596/genlock-2-ov5642-camera-modules-on-arducam  
  > **username_0**: Yet another question about GoPro DUAL System camera compatibility: http://video.stackexchange.com/questions/12346/gopro-hero-dual-3d-stereo-system-only-compatible-with-black-edition-units  
  > **username_0**: According to this answer http://electronics.stackexchange.com/a/124628/29812 and this blog http://vanceance.blogspot.co.at/2014/02/arducam.html it seems that ArduCam might only be able to take stills 10s apart (0.1 FPS) and also has no video capture feature.  
  > **username_1**: I guess I got fooled by all these timelapes videos and the live video function of some of the shield variants. Then I guess your other option would be to do the exact same thing with the PiCam and 2 Raspberry Pis like suggested in the last page of the thread, it should theoretically work by giving both pi cam modules the same clock source. They haven't tried it but its worth a shot I guess, that solution would total to 130$ or 120$ if you choose the Infrared Camera module (which might be more suited for computer vision depending your environment)  
  > **username_1**: http://www.raspberrypi.org/product/camera-module/  - http://ex-en.alliedelec.com/search/results.aspx?term=raspberry+pi  - http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=48238&sid=0c5ae07959126a05850dfe1bdf1bede1&start=26  
  > **username_0**: There is a follow-up question about frame synchronizing Raspberry Pi stereo camera: http://raspberrypi.stackexchange.com/questions/22696/stereo-camera-frame-synchronization-genlock-video-or-still-image  
  > **username_1**: You might want to cross post the question to EE aswell. The RPi SE is great but more about the more basic things you can do with the Pi and more software focused, not sure you will get a good answer there.  
  > **username_0**: Ok, good idea. Here we go: http://electronics.stackexchange.com/questions/124812/raspberry-pi-stereo-camera-frame-synchronization-genlock-video-or-still-image  
  > **username_0**: New task: I need to do my computer vision processing live and not in post-processing. I need the video signal on a strong x86 machine. I see two options for this: 1: HDMI capture. Feed HDMI out of either RPi, CHDK/SDM (StereoData Maker 1.86 can do video sync!) or GoPro to HDMI capture PCI-E card (Blackmagic Design has some, though getting stereo input is questionable). Data hopefully could be accessed in C+. 2: Custom stereo USB device (two cameras on single USB cable) - tough HW design and assembly, custom PCB for 2 CMOS modules + USB driver needed (=expensive). Could you comment the ideas?  
  
  ---
  
  