Raw distance calculation
Posted: Sat Dec 11, 2021 7:31 am
Hello,
(Realizator, if you are reading this, I messaged you in telegrams a few weeks back but couldn't receive a reply)
I'm trying to create software that can find raw distance data in specific points of the video feed. Specifically, I would like to know the distance from the camera to the object at specific coordinates (X: ... Y: ...) I'm having a few problems right now, and I was wondering if anyone can help.
1) I used the premade pairs for the calibration step, and it works fine. I'm at the 5_dm_tune.py step, and I keep getting error messages that say "the examples.directory rcpram was deprecated". Here's a link to the error im having: https://drive.google.com/file/d/1PYHdAA ... sp=sharing
2) Given that I do end up fixing this calibration and depth map tuning issue, is there any way I can acquire the distance at specific coordinates? I saw another post and the realizator wrote that there's a separate function for this in opencv, but I'm not sure how to use it. Does anyone have code for it that I can use? Thank you so much.
(Realizator, if you are reading this, I messaged you in telegrams a few weeks back but couldn't receive a reply)
I'm trying to create software that can find raw distance data in specific points of the video feed. Specifically, I would like to know the distance from the camera to the object at specific coordinates (X: ... Y: ...) I'm having a few problems right now, and I was wondering if anyone can help.
1) I used the premade pairs for the calibration step, and it works fine. I'm at the 5_dm_tune.py step, and I keep getting error messages that say "the examples.directory rcpram was deprecated". Here's a link to the error im having: https://drive.google.com/file/d/1PYHdAA ... sp=sharing
2) Given that I do end up fixing this calibration and depth map tuning issue, is there any way I can acquire the distance at specific coordinates? I saw another post and the realizator wrote that there's a separate function for this in opencv, but I'm not sure how to use it. Does anyone have code for it that I can use? Thank you so much.