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?
Disparity Map Quality
Disparity Map Quality
- Attachments
-
- rectifyed_right.jpg (30.57 KiB) Viewed 177343 times
-
- rectifyed_left.jpg (29.72 KiB) Viewed 177343 times
-
- photo.png (228.19 KiB) Viewed 177343 times
-
- 2019-04-03-135509_1824x984_scrot.png (137.02 KiB) Viewed 177345 times
-
- 2019-04-03-135211_1824x984_scrot.png (69.45 KiB) Viewed 177345 times
- Realizator
- Site Admin
- Posts: 900
- Joined: Tue Apr 16, 2019 9:23 am
- Contact:
Re: Disparity Map Quality
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.
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.
- Attachments
-
- 2019-04-03-135211_1824x984_scrot.png (82.57 KiB) Viewed 177324 times
Eugene a.k.a. Realizator