fire detection from video matlab code
#1

hi I'm looking for matlab code for fire detection in video So if anybody can have mail me to this id vishwamsruas14[at]gmail.com
Thanks and Regards in advance
Vishwanath G R
Reply
#2

fire detection from video matlab code

Abstract:

Conventional fire detection systems use physical sensors to detect fire. Chemical properties of particles in the air are acquired by sensors and are used by conventional fire detection systems to raise an alarm. However, this can also cause false alarms; for example, a person smoking in a room may trigger a typical fire alarm system. In order to manage false alarms of conventional fire detection systems, therefore a computer vision-based fire detection algorithm is needed. The algorithm can be used in parallel with conventional fire detection systems to reduce false alarms. It can also be deployed as a stand-alone system to detect fire by using video frames acquired through a video acquisition device. A novel fire color model is developed in CIE L*a*b* color space to identify fire pixels.

% Put image fire in the same folder where this code is put.

i=imread('fire.jpg');
C = makecform('srgb2Lab');
i_Lab = applycform(i,C);
x=i_Lab(:,:,1);
y=i_Lab(:,:,2);
z=i_Lab(:,:,3);
L=sum(x);
L=sum(L');
a=sum(y);
a=sum(a');
b=sum(z);
b=sum(b');
d=zeros(150,200);
L=L/(150*200);
a=a/(150*200);
b=b/(150*200);
for p=1:1:150
for q=1:1:200
if (x(p,q)>L)
d(p,q)=1;
else d(p,q)=0;
end;
end;
end;
e=zeros(150,200);
for p=1:1:150
for q=1:1:200
if (y(p,q)>a)
e(p,q)=1;
else e(p,q)=0;
end;
end;
end;
f=zeros(150,200);
for p=1:1:150
for q=1:1:200
if (z(p,q)>b)
f(p,q)=1;
else f(p,q)=0;
end;
end;
end;
g=zeros(150,200);
for p=1:1:150
for q=1:1:200
if (y(p,q)>z(p,q))
g(p,q)=1;
else g(p,q)=0;
end;
end;
end;
h=zeros(150,200);
for p=1:1:150
for q=1:1:200
if (d(p,q)&&e(p,q)&&f(p,q)&&g(p,q)==1)
h(p,q)=1;
else h(p,q)=0;
end;
end;
end;
h=sum(h);
h=sum(h');
if (h >10 )
fprintf('FIRE DETECTED\n');
else
fprintf('FIRE NOT DETECTED\n');
end;
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: matlab code for fire detection, 1984 kdx 200, fire detection matlab code, asx 200, fire detection from video matlab code, hand detection from video matlab code, chimney fire training video,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  A New Data Mining Based Network Intrusion Detection Model prem0597 2 4,225 04-05-2018, 09:42 PM
Last Post: Guest
  image encryption and decryption using rsa algorithm in matlab 2 7,829 29-05-2017, 04:17 PM
Last Post: Priyanka Bidikar
  download liver tumor ct scan image in matlab with source code 4 7,987 21-05-2017, 09:54 PM
Last Post: abdulrahmanmashaal
  mini ir radar for unauthorized object detection 3 1,129 15-04-2017, 03:11 PM
Last Post: jaseela123d
  MATLAB codes needed for powerline communication 1 7,997 12-04-2017, 05:00 PM
Last Post: jaseela123d
  matlab code for wavelet based ofdm transmitter 1 921 24-02-2017, 11:18 AM
Last Post: ijasti
  code to extract brain tumor detection using matlab 2 1,062 17-10-2016, 04:32 PM
Last Post: girish123ak
  f5 algorithm steganography matlab code 2 863 04-10-2016, 03:00 AM
Last Post: [email protected]
  color image segmentation using jseg algorithm in matlab code 2 862 29-09-2016, 12:07 PM
Last Post: Guest
  matlab code for retinal hemorrhage detection in fundus images 2 854 24-08-2016, 01:10 AM
Last Post: [email protected]

Forum Jump: