weapons and fire detection system

We presented a real-time weapons and fire detection system that assists a human operator by alerting him/her when a potentially firearms or fire is detected. The method uses a YOLOV4 (you only look once) classification model to classify part of a CCTV video frame as either containing a weapons such

2025-06-28 16:30:00 - Adil Khan

Project Title

weapons and fire detection system

Project Area of Specialization Artificial IntelligenceProject Summary

We presented a real-time weapons and fire detection system that assists a human operator by alerting him/her when a potentially firearms or fire is detected. The method uses a YOLOV4 (you only look once) classification model to classify part of a CCTV video frame as either containing a weapons such as (Handgun, Knife, Rifle) and events such as fire (small electrical fire, car fire, forest fire, smoke) or not. After detecting it alerts the respected authorities/User by send snap shot of the frame containing that object by the means of e-mail to avoid false alarm and to take action way earlier than expected. This system increases response time as some situation are very time sensitive and require action in initial stage to eliminate it. Eliminates the boundaries of traditions systems such as, human monitoring CCTVs, smoke Detectors, metals detector, security guards etc.

Project Objectives

As the number of CCTV cameras installed for surveillance purposes to detect crime is increasing drastically it also becomes practically hectic for human being to be able to detect anomalies and events in environment such as use of weapons for harming someone , or fire eruption which can cause massive damage to environment, So to solve this problem we have come up with a system which automatically detects object such as weapons and events such as fire eruption in real time, which further immediately alerts the user (LEA, Security...Etc.) as these events are time sensitive and require action as soon as possible, to make this possible we use deep learning algorithm and image processing to establish real time object detection through cameras, we also developed a proper application through which user can start detection and stop whenever he need to the application also has a dashboard which is connected to a database, so whenever a detection of objects take place the system takes multiple snaps of that event and alerts user through dashboard which is connected to a database. Through this system we can eliminate the manual monitoring of CCTV cameras, and also real time threats can be eliminated in its initial time.

Project Implementation Method

step-1 Simulation Model

We created a simulation model of the application  by using Adobe XD  and designing GUI of the application Figma

Step-2 SDLC

In this phase we planned the execution of the project, from deigning, implementation of code by using python programming language, Test the final prototype in real world scenario, and deploying the project.

Step-3 Functionality

1-sign in and registration form

2-selecting detection type

3-luanching of the webcam and detection

Step-4 Integration

In the integration we connected the hardware such as graphics card, web cam to the application

Step-5 Testing

We tested the projefct in real life situtation, tested using real life object such as knife, gun. fire etc.

Benefits of the Project

1. Establishing a camera based automatic fire and weapon recognition system.

2. Which can achieve 24/7 automatic monitoring, which will greatly reduce labor cost

3. Establishing system in environment where it is needed i.e. schools, university, hospitals, offices etc.

4. Alerting administration, fire brigade, police to stop fire and use of weapons such as guns, as these cases are time sensitive.

5. Eliminating traditional methods such as manual cameras monitoring and smoke detectors which only alerts user when fire is already spreded.

6. Minimizing false alarm by using better deep learning algorithm such as CNN (convolution neural networks)

Technical Details of Final Deliverable
  1. Programming Languge (Python 3.9)
  2. Anaconda (jupyter Notebook)
  3. Python Libraries( Numpy, SMTPlib, TKinter, OpenCV-CV2)
  4. Deep learning Model (YoloV4)
  5. Labeling tool (labelimg)
  6. Designing Tool (Adobe XD, Figma)
  7. Graphics Card (Geforce 750Ti)
  8. Operating System (Windoes 10)
  9. RAM(8GB)
  10. Processor(intel i5 4th generation)
  11. WEB-Cam (logitect 720HD)
Final Deliverable of the Project HW/SW integrated systemCore Industry ITOther Industries IT , Security Core Technology Artificial Intelligence(AI)Other Technologies Artificial Intelligence(AI), OthersSustainable Development Goals Industry, Innovation and InfrastructureRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 46050
GPU Equipment13000030000
Web-Cam(sensor) Equipment140004000
RAM(8GB) Equipment125002500
USB Equipment1650650
project report printing Miscellaneous 151005100
FYP overheads, Miscellaneous 135003500
Stationery(Files,Markers) Miscellaneous 010000
CDs Equipment3100300

More Posts