Hi. I hope somebody can help me.
ā¢ I want to know how to calculate and get distance values from camera in Python / OpenCV, either from the generated dense map / point clouds or any other way, using the stereo camera HAT?
Thanks in advance!!
Hi. I hope somebody can help me.
ā¢ I want to know how to calculate and get distance values from camera in Python / OpenCV, either from the generated dense map / point clouds or any other way, using the stereo camera HAT?
Thanks in advance!!
Hi @MRX999 ,
We provide a simple example for obtaining the depth map: https://github.com/ArduCAM/MIPI_Camera/tree/master/RPI/stereo_depth_demo
If you want to obtain the distance information, you only need to add a small part of the code in 6_dm_video.py.