-
Notifications
You must be signed in to change notification settings - Fork 19
Description
I would like to have two USB-based cameras synchronized. Currently I have a difference of 50ms as I am just acquiring images in a sequential manner with the default grab strategy. I have been reading about the PTP protocol but it is already discarded as this only applies to gigE-based cameras. Therefore it seems that the only option I have is using an external trigger (which I read here basler/pypylon#470). Before doing that, I was wondering about a specific grab strategy. This is GrabStrategy_LatestImageOnly.
My question is, when you do something like:
cameras.StartGrabbing(pylon.GrabStrategy_LatestImageOnly, pylon.GrabLoop_ProvidedByUser)Is the signal that triggers the start of the image acquisition somehow "aligned"? Some points to give context about what I mean with this:
- Is the signal sent to the cameras at the same time? If this is the case, it could be the chance that these images are slightly synced, right?
- I am aware that this probably delegates the image acquisition to each camera, meaning that this "pseudo-sync" can drift over time since each camera will be using its own clock.
- I do not need that the FPS are exact as long as both cameras are synced as much as possible without introducing much more complexity
Is there any other simpler approach without going with the hardware trigger? About the sync I need, I would be expecting something around 1ms ideally.
Thanks!