Page 1 of 1

Disparity Map Quality

Posted: Fri Oct 16, 2020 5:57 am
by kaanyvz
Hi,
I try to get depth map with StereoPi from this article "OPENCV AND DEPTH MAP ON STEREOPI TUTORIAL". I perform all stages attentively but disparity map not good and has not any blue colors for far away objects. How I solve this problem?

Re: Disparity Map Quality

Posted: Sun Oct 18, 2020 1:07 pm
by Realizator
Hi kaanyvz,
The first issue I see is a poor calibration quality. After rectification, straight lines on your photos became not straight. I attach your image with two red lines, which shows that the straight shelves on the wall became bent. It is better to get fina c calibration first, and tune the depth map settings after that.
By the way, I'd recommend using our newer code from this repository.