Skip to content Skip to sidebar Skip to footer

How To Calculate Distance Between Two Person Using Python Opencv?

I am working on a project where I have to calculate the distance between the detected persons in live video feed. To do this I am following the below pipeline: 1. Detect person usi

Solution 1:

As an answer to the question in your comment.

enter image description here

In a camera view you have 3d shortening. And the only thing that you can be certain of with a persons position in the view is their feet on the ground.

If you take in account the 3d shortening and draw a grid on the view you could make a good estimate of the distance by recalculating the grid and positions to square.

Post a Comment for "How To Calculate Distance Between Two Person Using Python Opencv?"