I want to calculate the distance with openmv

I make object detection and mark the midpoint.(using yolov2-tiny)

I want to calculate the distance

I need to calculate the distance of these two points on the right and left camera to the camera, how can I do it?
Can someone tell me roughly the steps when doing this? Thank you so much…

Use FOMO from Edge Impulse. It can do what you want at 30 FPS: https://www.edgeimpulse.com/blog/announcing-fomo-faster-objects-more-objects

Can’t I do it using openmv?

Yes, FOMO runs on OpenMV.