librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Multi-camera synchronization, IR interference, and USB bandwidth questions

Open Thanh-Binh opened this issue 10 years ago • 11 comments

I have some questions by using multi-camera:

  1. How can we synchronize all cameras?
  2. how is the video frame rate if all camera connect to the same USB3-port / to different USB3-port?
  3. How is the interference between cameras if they are oriented to the same object?

It is very nice to hear any answer from your experience! Best thanks

Thanh-Binh avatar May 11 '16 06:05 Thanh-Binh

Same questions! :)

mhkabir avatar May 11 '16 07:05 mhkabir

  1. Depends on what you mean by synchronization. Temporal sync (making sure all cameras capture frames at the same time) is problematic since each camera has its distinct clock. For spacial sync, you could match objects from one camera in frames of another through image registration or estimate fixed relative camera models. Both techniques are not trivial, and are beyond the scope of librealsense right now.
  2. Using the same USB3 controller for more then one realsense device is not recommended. Bandwidth of USB3 is limited and you will inevitably loose frames. If you're using separate USB controllers, you will still need a powerful PC or you will have frame drops at the kernel driver level.
  3. The interference depends on camera type. In short, you can capture depth from two R200 devices pointed at the same target, but not from two SR300/F200. You can read more about that under Camera Specs

Perhaps @ddiakopoulos will be able provide additional information.

dorodnic avatar May 11 '16 07:05 dorodnic

I mean temporal sync for object tracking and 3D pose estimation. Best thanks

Thanh-Binh avatar May 11 '16 09:05 Thanh-Binh

@dorodnic regarding interference from multiple SR300/F200 cameras aimed at the same target do you know if anyone has used the shake and sense method to alleviate this problem? Is there any reason to think that it would work less well on the SR300 and F200 then on the kinect V1?

bloyl avatar May 12 '16 20:05 bloyl

@bloyl Kinect V1 uses very traditional structured light (projected dot pattern). The SR300 and F200 both use a "coded light" approach that computes depth over a series of 11 grey-coded frames -- this means it is very sensitive to motion.

ddiakopoulos avatar May 12 '16 20:05 ddiakopoulos

Thanks, that makes sense.

Are there any issues with mixing R200 cameras with an SR300 or F200? does the R200's laser cause an issue to the "coded light" depth sensing.

How does the depth resolution of the R200 camera, used in the 0.5m-1m range match up to the F200's depth resolution?

also unrelatedly, is there a better place to ask these questions then on the bug tracker?

bloyl avatar May 12 '16 21:05 bloyl

Are there any issues with mixing R200 cameras with an SR300 or F200? does the R200's laser cause an issue to the "coded light" depth sensing.

Actually the opposite. If an F200 is pointing at the same spot as an R200 the depth data from the F200 is mostly intact, but the R200 data is pretty much ruined.

teknotus avatar May 12 '16 21:05 teknotus

@dorodnic regarding the temporal synchronize between many cameras: Is it possible to trigger camera from SW, because each camera is global shutter?

Thanh-Binh avatar May 13 '16 07:05 Thanh-Binh

Hi @Thanh-Binh unfortunately not. Current-generation RealSense cameras are not designed to compete with the feature set of industrial vision sensors.

ddiakopoulos avatar May 14 '16 22:05 ddiakopoulos

Have you checked the infrared viewer on the r200 when this happens? Likely simple oversaturation and reducing the IR gain or exposure would bring it back.

On May 13, 2016, at 5:19 AM, Daniel Patrick Johnson [email protected] wrote:

Are there any issues with mixing R200 cameras with an SR300 or F200? does the R200's laser cause an issue to the "coded light" depth sensing.

Actually the opposite. If an F200 is pointing at the same spot as an R200 the depth data from the F200 is mostly intact, but the R200 data is pretty much ruined. — You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

digitologist avatar May 14 '16 23:05 digitologist

I am using one USB3 controller for 4 SR300 cameras and losing frames for RGB images too.!

RocketSumit avatar Jul 23 '18 09:07 RocketSumit