This project is made to accurately detect, classify, alert and extinguish fire in a buiding/room with 24x7 CCTV/Webcam survelliance and without using sensors. This is our final year project for the session 2016-20; TMSL, Kolkata.
To detect and classify fire flames wrt background using HAAR classifier in python3 and send the signal 24x7 to arduino uC for controlling peripherals used for the purpose of alerting and extinguishing the fire as and when required.
- Python3 setup in PC
- Cascade GUI trainer installed in your PC (optional, as many readymade cascade gui trained xml files are available on internet)
- Arduino Uno R3/Uno x1 & Arduino IDE
- GSM module GSM900/850 x1
- DC motor pump 12V x1
- Breadboard x1
- CCTV/Webcam 13MP (min. recommended)
- Transistors BC547 x1
- Resistor 1K x2 + POT 10K x1
- Relay 5V x1
- 16x2 LCD display x1
- Buzzer x1
- OpenCV-python>=4.2.0.34
- Pyserial>=3.4
- First, after pre-requisites for environment setup are satisfied as stated above, connect everything according to given circuit diagram in repo.
- Download this code package to a single folder locally.
- Feed the controller_code.ino using Arduino IDE to your arduino uC through cable.
- Download the dependencies and run detection_code.py file using IDLE.
- Voila! Its ready for survelliance now.
N.A.
- Arduino IDE: https://www.arduino.cc/en/software
- Cascade Trainer GUI App (optional): http://amin-ahmadi.com/cascade-trainer-gui/
- Python3: https://www.python.org/downloads/