Generated disparity map is not proper

hellomam69
Wed, 18 Jan 2023 09:31:35 +0000
Python

Hi,
I am trying to generate the disparity map using two raspberry pi v2 cameras but cannot create a proper disparity map I have done stereo calibration and stereo rectification.
the projection error for both cameras is around 0.0309 and baseline is 75mm

I followed the procedure mentioned in the below link:

LearnOpenCV – Learn OpenCV, PyTorch, Keras, Tensorflow with examples and... – 11 Jan 21

Making A Low-Cost Stereo Camera Using OpenCV | LearnOpenCV #

In this post, we will learn how to create a custom low-cost stereo camera (using a pair of webcams ) and capture 3D videos with it using OpenCV. We provide code in Python and C++.

these are my stereo rectifed images and disparity map.

Would you tell where i am doing wrong.

4 posts - 2 participants