Hello everyone, I have a random question if anyone can respond it and thank you.

let’s say I’m doing social distanciation project, but how for example we can do it ? Like I don’t think that training a model on a dataset will be able to detect the distance between two persons??
What really I’m asking, how to train a model to detect the distance? If there is any other solution please provide it.