Social Distance Detection & Maintain Safety Using Computer Vision AI
In public health, social distancing, also called physical distancing, is a set of non-pharmaceutical involvements or measures intended to prevent the spread of a contagious disease by maintaining a physical distance between people and reducing the number of times people come into close contact with
2025-06-28 16:35:59 - Adil Khan
Social Distance Detection & Maintain Safety Using Computer Vision AI
Project Area of Specialization Artificial IntelligenceProject Summary| In public health, social distancing, also called physical distancing, is a set of non-pharmaceutical involvements or measures intended to prevent the spread of a contagious disease by maintaining a physical distance between people and reducing the number of times people come into close contact with each other. This way of living has been forced upon us by the fastest growing pandemic the world has ever seen covid-19. As per the World Health Organization (WHO), COVID-19 has so far infected almost 4 million people and claimed over 230K lives globally. Around 213 countries have been affected so far by the deadly virus. The biggest cause of COVID-19 spreads from person to person through contact or if you’re within close of an infected person. Given how densely populated some areas are, this has been quite a challenge. So we decided to build a software that can detect where each person is in real-time, and return a bounding box that turns red if the distance between two people is dangerously close. This can be used by Educational Institutes, Offices, Hospitals to analyze the movement of people and alert them if the situation turns serious. |
In public health, social distancing, also called physical distancing, is a set of non-pharmaceutical involvements or measures intended to prevent the spread of a contagious disease by maintaining a physical distance between people and reducing the number of times people come into close contact with each other.
This way of living has been forced upon us by the fastest growing pandemic the world has ever seen covid-19. As per the World Health Organization (WHO), COVID-19 has so far infected almost 4 million people and claimed over 230K lives globally. Around 213 countries have been affected so far by the deadly virus.
The biggest cause of COVID-19 spreads from person to person through contact or if you’re within close of an infected person. Given how densely populated some areas are, this has been quite a challenge.
So we decided to build a software that can detect where each person is in real-time, and return a bounding box that turns red if the distance between two people is dangerously close. This can be used by Educational Institutes, Offices, Hospitals to analyze the movement of people and alert them if the situation turns serious.
Project ObjectivesThe aims and objectives of this project is to maintain a safe distance of two meter because lots of deaths arise in that year 2020 just Because of COVID-19. The major reason is that people is shaking their hands without washing it and sneezing over the other person.
This Pandemic there is a virus which is named as Corona Virus in which people having flu and cough and it will be transfer to other person without care.
Project Implementation MethodIn our project, we are using water fall model because it is sequential and gives step by step instruction of our project. Due to the current situation pandemic of Covid-19 we came up with an idea of this project that can detect a 6-Feet social distance between groups of colleagues, students, & staff. This project will be used in schools and offices and other workplaces. We design this project in which we require a model (deep neural network etc.) to be trained in which recognizes and classify the people w.r.t their face and give output in the form of their names/contact number. This requires creating a comprehensive dataset of the people in a room. Detecting the distance between each and every person in the room/ frame of the camera. Accessing database and sending text message to the people violating the rules, which will be admin and user.
Working Model
Requirements:
In this phase we gather all the required requirements , specifications
Design:
In this phase we design the software architecture according to the first phase requirements.
Implementation:
With inputs from system design, the system is first developed in small programs called units, which are integrated in the next phase. Each unit is developed and tested for its functionality which is referred to as Unit Testing.
Testing:
All the units developed in the implementation phase are integrated into a system after testing of each unit. The software designed, needs to go through constant software testing to find out if there are any flaw or errors. Testing is done so that the client does not face any problem during the installation of the software.
Maintenance:
This step occurs after installation, and involves making modifications to the system or an individual component to alter attributes or improve performance.These modifications arise either due to change requests initiated by the customer, or defects uncovered during live use of the system. Client is provided with regular maintenance and support for the developed Hardware and Software.
Project Model Diagram:

It will Help in maintaining the environment.
It can help in airports to identify if people are maintaining social distance or not. Multiple IP cameras installed at the airport can capture people standing in close closeness and records are kept in a system. The System activates the sends notifications to the concerned authorities.
In HealthCare Hospitals can use social distancing System to monitor if people are following to social distancing or not. Using CCTV cameras installed at hospital buildings, health authorities can track if visitors, patients or health workers are maintaining a distance or not. If somebody is found violating the distancing, alerts will be sent to the concerned authorities to take action.
It can help in Educational Institutes can manage social distancing professionally. If students or teachers are found violating the distancing within Educational Institutes premises, an alert is raised and notification is sent to concerned authorities.
Technical Details of Final Deliverable• The Project is based on software which is connect through CCTV cameras.
• The alert message will send to a person/Admin.
• The Data is generating everyday how many violations will occur in that day so Authorities will analyze the data.
Final Deliverable of the Project Software SystemCore Industry HealthOther Industries Education Core Technology Artificial Intelligence(AI)Other TechnologiesSustainable Development Goals Good Health and Well-Being for People, Quality Education, Industry, Innovation and InfrastructureRequired Resources| Elapsed time in (days or weeks or month or quarter) since start of the project | Milestone | Deliverable |
|---|---|---|
| Month 1 | Project proposal & title | Ideas finalized |
| Month 2 | Introduction & Title | Documentation and proposal approved |
| Month 3 | Functional & NON-Functional Requirements | All requirements approved |
| Month 4 | Literature Review | Done accordingly |
| Month 5 | Research Approach | Done accordingly |
| Month 6 | Purchasing equipment | Purchasing of components done |
| Month 7 | Making mobile app | Tools selection done accordingly |
| Month 8 | Implementation of project | Application ready to use |
| Month 9 | Front-end, Back-end | Implementation done |
| Month 10 | Connectivity and Testing | Functioning done |
| Month 11 | Thesis report and presentation | Whole process working |