Sicurezza Handgun Detection
Day by day incidents of burglary, robbery as well as home invasions are increasing. People does not feel safe at home because of security issues as we go deep in this many citizens of Pakistan have installed cameras in their homes to avoid such circumstances, but due to human negligence there is sti
2025-06-28 16:35:00 - Adil Khan
Sicurezza Handgun Detection
Project Area of Specialization Software EngineeringProject SummaryDay by day incidents of burglary, robbery as well as home invasions are increasing. People does not feel safe at home because of security issues as we go deep in this many citizens of Pakistan have installed cameras in their homes to avoid such circumstances, but due to human negligence there is still a wide chance of security threat. To overcome this problem Sicurezza is designed. Handgun Detection System for is an android application to computerize the security system procedure. This system will inform user about security threats (A person with weapons like guns) through android application with the help of surveillance camera. The user must be registered before using the system and camera can only detect within specific house range. In this system surveillance camera detects guns and then send notification along with detected Frame to application. If the system does not receive any response from user, end system will automatically send alert text message to neighbor’s phone or user can also give emergency call to 15.
Entire system consists of three main modules mobile end (i.e., getting information from the user), server end (i.e., mean between user and database to inform the user) and detection (i.e., process the frames and detect the gun). Each Of the module have several features such as registering accounts, checking video feed, generating alert, receiving notification, make a quick access to call, informing neighbors.
As per United Nation’s 17 Sustainable Development Goals, multiple domains should be explored to make life more effective and secure. Following the goal of “sustainable cities and community”, a modern technology-based Handgun detection system is proposed which is a real time system what will detect any possible threats of exposed firearms within the range of a house. This project is based on IOT and Machine Learning. Pytorch and OpenCV will be used for detection of firearms. The main idea is to deploy Pytorch and Machine Learning modules on a server achieve the required functionality like real time detection with minimum load on the android application. Furthermore, some relevant features like informing neighbor or a relative in times of emergency also allowing user to contact ‘’15’’ directly through the application to ensure user’s safety and live streaming of camera footage on android application.
The outcome of this project will ensure that every citizen living in their homes are safe and secured from any possible threat outside. No matter where they are, they will be alerted on any possible threat detection.
Project Objectives- Ensure the safety of citizens at home.
- Decrease or to put stop to the increasing housebreaking cases.
- Saving people lives that become the victim of murder in burglary.
- Avoiding human negligence to ensure every possible threat can be detected and informed.
- Giving user access by saving the detected frames so that he/she can take legal action against attacker.
The development of the project relay on incremental model. Using this approach, the modules are developed one by one and integrated with the previously developed module. This approach helped in the development, to analyse the time-to-time progress and ensure completion of each module within time.
Benefits of the ProjectSicurezza is an android application which allow its users to stay safe at home when their virtual guard is guarding them 24/7.
- Detection of any firearm in house range
- Saving detected frames can help user to take further legal actions against assailant.
- In emergency, the user can send alert message to neighbor’s or any relatives phone number provided, user can also call ‘’15’’ directly.
- If there is no response from user’s side system will automatically send message to the phone number provided by user to ensure user’s safety in worst case scenario.
- User can also see the live footage of camera on their phone that will help them to track the movements of assailant.
System consists of IP cameras, Nvidia GTX 750ti and core i5 2nd generation system with Pytorch, Open CV and Machine Learning models deployed on Nvidia GTX 750ti integrated system for real time detection and live video streaming of IP camera to ensure to processing speed and accuracy while sending the alerts on android application.
Final Deliverable of the Project HW/SW integrated systemCore Industry SecurityOther IndustriesCore Technology Artificial Intelligence(AI)Other TechnologiesSustainable Development Goals Good Health and Well-Being for People, Industry, Innovation and InfrastructureRequired Resources| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 55350 | |||
| GPU (Nvidia Geforce GTX 960) | Equipment | 1 | 24900 | 24900 |
| IP camera 4K 8MP | Equipment | 1 | 11500 | 11500 |
| WIFI-Router (Tenda Router AC10) | Equipment | 1 | 8950 | 8950 |
| Miscellaneous | Miscellaneous | 1 | 10000 | 10000 |