Giter Club home page Giter Club logo

ar-drone-fire-detection's Introduction

AR-Drone-Fire-Detection

Fire Detection with Parrot AR-Drone 2.0 in Python

by Sander Idelson

The main file is firedetection.py. The rest are testing files.

The goal of this program is to use a Parrot AR-Drone 2.0 to find and follow the progress of a forest fire. It uses two fire detection algorithms explained below. The drone relies on Venthur's Python-ARDrone library and some subsequent forks for the AR-Drone 2.0.

Video decoding is done with the Python library included in OpenCV 2.4.5 and with the latest FFMPEG installed. SimpleCV is also used for blob detection.

If you are just getting started with AR-Drone 2.0 video decoding, the first step is to install the latest FFMPEG and OpenCV. The AR-Drone 2.0 sends Parrot's proprietary h264 video feed over tcp on tcp://192.168.1.1:5555. FFMPEG can simply decode this feed and play it for you. To do this, simply type 'ffplay tcp://192.168.1.1:5555' into the terminal. OpenCV uses FFMPEG to perform video tasks and therefore, it is simple to import the video directly into OpenCV. SimpleCV is a frontend tool for OpenCV that makes it easier to perform higher level computer vision tasks.

The RGB color filter is based on a method proposed in "Fire Detection Using Statistical Color Model in Video Sequences" by Turgay Celik, Hasan Demeril, Huseyin Ozkaramanli, Mustafa Uyguroglu. This method uses the RGB color space and does three comparisons. The method returns true at any pixel that satisfies:

red > green > blue red > red threshold (depends on amount of light in image)

This is a filter based on a method proposed in "Fast and Efficient Method for Fire Detection Using Image Processing" by Turgay Celik

The LAB filter uses the CIE Lab* color space and performs 4 bitwise filters. The method returns true at any pixel that satisfies:

L* > Lm* (mean of L* values) a* > am* (mean of a* values) b* > bm* (mean of b* values) b* > a*

This program is a work in progress and will soon have autonomous mode for finding fires.

This software is being written for a Graduate Project at Rochester Institute of Technology.

ar-drone-fire-detection's People

Contributors

sanderi44 avatar

Watchers

 Tony Du avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.