This project uses OpenCV HOGDescriptor to detect people, calculate their distances from each other, and alert if they are close enough.
Algorithm:
- Find people using OpenCV HOGDescriptor
- Apply non-maxima suppression to the bounding boxes
- Calculate the center of each bounding box of detected people
- Check the distance of people
- Draw red bounding boxes for who are close to each other