element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog Cam-e-lot - Round 5 - Man vs blobs (2)
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: amgalbu
  • Date Created: 5 Sep 2014 3:38 PM Date Created
  • Views 354 views
  • Likes 0 likes
  • Comments 0 comments
Related
Recommended

Cam-e-lot - Round 5 - Man vs blobs (2)

amgalbu
amgalbu
5 Sep 2014

In this post we will see how the blob detection feature I implemented in one my previous posts can be useful to implement the features I'd like to achieve, namely flames detection

 

A flame is not an efficient means to light your house: it emits most of its energy in the infrared spectrum, that is to say it emits light with such a long wavelength that human eye can not see it. So, to detect a flame the easiest way is to look for a source of infrared radiation.

Normal cameras have a built-in infrared filter (placed just in front of the CCD or CMOS sensor) that prevents infrared radiation from overlapping red radiation in the visible spectrum.

To implement an infrared camera, it would be required to remove such a filter, but this operation is very difficult to work out without breaking up the tiny CCD or CMOS sensor.

 

Thanks to RaspiCam's engineers, a RaspiCam without the IR filter is available off-the-shelf: it is branded as RaspiCam NoIR (where NoIR obviously means "no IR filter").

 

This version of the RaspiCam basically can see a certain range of the infrared radiation (called near-infrared, that is to say to the part of the infrared spectrum that is closed to the visible spectrum) in the Red channel of the sensor. This means that the red component of the visible light is superseded by the near-infrared radiation.

Long story short: for the purposes of flame detection, I can extract the Red channel of the camera-captured image to detect sources of infrared radiations, also called a "flame".

I made some test with the fire coming from a lighter at different distances and different light conditions. This is an example of a picture taken with the Raspicam NoIR

 

image

 

To detect a flame, I need to detect a blob whose color is in the range from RGB color (220, 220, 220) to RGB color (255, 255, 255)

 

With these thresholds set, the algorithm works as I show in the video I published with my previous post

 

Thanks for reading and have a nice day!!

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube