depthai icon indicating copy to clipboard operation
depthai copied to clipboard

[Feature-Request] Multi-cam calibration and multi-pointcloud alignment

Open Erol444 opened this issue 2 years ago • 10 comments

Start with the why:

For folks that would want to use our cameras for 3D object scanning, using multiple cameras would be crucial.

Move to the what:

Create a script that will let you calibrate multiple cameras looking at the same scene. This will provide extrinsics of cameras relative to each other, which would allow aligning multiple point clouds (produced from different cameras). We could then do some additional filtering of this combined pointcloud.

Move to the how:

1. Calibrating

  • BioSense have already done this (YT video) - no source code
  • Bart (VR Laser tag at home), video for calibration here.

2. Alignment

  • Use something like Meshlab to align multiple pointclouds.
  • Open3d has 3d reconstruction function as well, video here.
  • We could also look into getting our cameras supported by EF-EVE, app that allows Volumetric capturing with multiple depth cameras.

Erol444 avatar Jul 19 '22 11:07 Erol444

Azure Kinect also has it. It only works up to 6 meters. If Luxonis gives longer distance, he will win.

MarekKot1 avatar Jul 19 '22 12:07 MarekKot1

Sweet! Yes, this would be great!

Luxonis-Brandon avatar Jul 19 '22 18:07 Luxonis-Brandon

This would be a very useful feature. Between the IMU data of each camera, or the ability to define the relative orientations of each camera the required information is already there, but an example of the appropriate way to do this would be very useful.

LyceanEM avatar Aug 04 '22 13:08 LyceanEM

plus one!

mhdtahawi avatar Aug 18 '22 16:08 mhdtahawi

This would be a great feature for us as well.

andrewwetzel23 avatar Sep 29 '22 13:09 andrewwetzel23

Initial demo here: https://github.com/luxonis/depthai-experiments/tree/master/gen2-multiple-devices/rgbd-pointcloud-fusion cc @MarekKot1 @LyceanEM @mhdtahawi @andrewwetzel23

Erol444 avatar Oct 31 '22 23:10 Erol444

From: https://discuss.luxonis.com/d/1746-multi-camera-calibration-oak-d-pro-w-faulty-translation-matrix image

Erol444 avatar Jul 10 '23 15:07 Erol444

When I try to run the Multi-cam calibration script, it keeps getting stuck in the capturing still image loop. There is nothing moving in the camera frame, is there anything that could be going wrong?

JarlLemmens avatar Sep 22 '23 14:09 JarlLemmens

CC: @MaticTonin

themarpe avatar Oct 02 '23 10:10 themarpe