Created a program monitoring whether the Covid-19 social distancing rules were upheld, tested on a stereo-camera dataset. We used a pre-trained Yolov3 network to detect people and a dense stereo estimator to find their positions in 3D space. The shortest distance each person had to another person were calculated. The end result can be seen in the image below, it can also be seen as a gif (socialdistance.gif).
All dependencies can be installed through https://github.com/tek5030/setup_scripts
Run these commands to run the person placer
cd person_placer
make
./person_placer