I use Raspberry Pi with python2.
I'm trying to calculate the disparity of two images captured by the left and right cameras.
But I don't know what code should I use.
All I want to do is make python using the target center of two images(disparity) in order to calculate distance between two cameras and target.
Left camera:
Right camera:
I want to calculate two centers (twp green cicle) and make their disparity into distance.