Search

UAV Based Forest Fire Surveillance and Detection

Photo of however

Made by however

About the project

Prevention Is Better Than the Cure, Identifying and stopping the fire before it spreads will save life's and natural resources from danger.

Project info

Difficulty: Moderate

Estimated time: 1 hour

Items used in this project

Hardware components

Tiny Battery Charger Tiny Battery Charger x 1
Raspberry Pi 3 Model B Raspberry Pi 3 Model B x 1
Raspberry Pi Camera Module V2 Raspberry Pi Camera Module V2 x 1
Polymer Lithium Ion Battery - 1000mAh Polymer Lithium Ion Battery - 1000mAh x 1
Jumper Wire Kit - 140pcs Jumper Wire Kit - 140pcs x 1

Software apps and online services

Mako Driver Kit - 64 Precision Bits Mako Driver Kit - 64 Precision Bits
PX4 MAVLink PX4 MAVLink
Raspberry Pi Raspbian Raspberry Pi Raspbian
Docker Docker
Python Python
Azure Container Registry Azure Container Registry
Microsoft Azure IoT Edge Microsoft Azure IoT Edge
Microsoft VS Code Microsoft VS Code

View all

Story

Completed Flight:

Unattended forest fire will result in great number of environmental disasters and it is endangered to human and animal lives. Every year this fire destroys thousands of hectares of forest and also destroys the valuable natural resource, it is important to prevent this fire early, before it spreads and become uncontrollable.

This drone built with inbuilt AI capabilities to detect fire real time with out any latency and alert the respective people, it achieves this using computer vision. A Microsoft custom vision module is built and tagged with different fire scenarios (e.g. fire, fire with people) and use the custom vision API in the Microsoft IOT edge model to classify the image form video stream.

1 / 2

Final Test:

Build:

The initial drone build is made from Hover Games Dron Kit instruction ( https://nxp.gitbook.io/hovergames/userguide/getting-started ).

For the Raspberry Pi, mount using zip tie to attach the PI in the extended small plate on the rail and for the Pi camara, using the 3D printed case and zip tie to the same rail.

1 / 3

Application build:

Setup Raspberry Pi 3 B + with Raspbian and enable SSH , Serial Port and Pi camara from Raspberry config.

Build IOTedge Runtime in Raspberry Pi using the instruction from the below link.

https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-linux

Using Docker, Azure Container Registry and Azure IOT hub to built and deploy the IOT model to the edge device.

Create New IOT Edge Solution in VS code, using the below link as a reference to build and deploy model.

https://docs.microsoft.com/en-us/azure/iot-edge/how-to-vs-code-develop-module

Create two custom module for video processing using open cv and fire alert to the FMU via UART.

Custom Vision:

Use https://www.customvision.ai to upload and train the customer Vision model for image classigication.

once it's trained export the model as docker file for ARM-32.

Add the exported model in the IOT edge solution.

1 / 3

Conclusion:

I have be able to detect the fire and classify if it's as unattended fire or fire with people around and alert the ground control. Future enhancement for the project would be using custom ML to enhance the prediction.

for more details: www.however.pw

Code

Edge Model

Edge Model Slutions

Credits

Photo of however

however

Internet projects associated group for students

   

Leave your feedback...