OpenCV with stereo 3D reconstruction

Suppose I plan to use OpenCV for 3D reconstruction using the stereo approach ... and I don’t have a special stereo camera, but only webcams.

1.) How can I build a cheap stereo setup using a set of webcams? 2.) Is it possible to snap two images using webcams and convert them to stereo using the OpenCV API?

I will use the stereo algorithm from the link below. Stereo Vision with OpenCV

Using this approach, I want to create a detailed display of the internal environment. (I would not want to use any projects, such as Insight3D, that cannot be used for commercial purposes without distributing the source code)

+8
opencv 3d vision 3d-reconstruction
source share
2 answers

Here you can find many resources, including tutorials and security cameras.

+4
source share

First, make sure your webcams do not have built-in autofocus technology. Because cameras must have a fixed focal length.

1) Align the cameras in the canonical configuration with a different base. Then calibrate them using opencv stereo_calib.cpp. Usually the distance will be 20-60 cm. For some webcams, even 10 cm will give you better results. If the standard error and repeat error is less than 0.5, you can assume that the stereo setting is ready.

2) Yes, you can record stereo images from the setting that I just mentioned. Check out the link to capture images from cameras.

OpenCV provides the best algorithms from which to do miracles with 3D vision.

Stereo is better suited for the internal environment, as it is very sensitive to changes in lighting.

0
source share

All Articles