Page 1
Marcos Vinícius Naves Bedo (speaker) [email protected]
Gustavo Blanco, Willian Oliveira, Mirela Cazzolato, Alceu Costa, José F. Rodrigues Jr.,
Agma Traina, Caetano Traina Jr.
Techniques for effective and efficient fire detection from social media images
junio
Typewriter
Full paper at: http://www.icmc.usp.br/pessoas/junio
Page 2
Outline
Introduction
Background
The Fast-Fire Detection Method
Experiments
Conclusions
Page 3
Outline
Introduction
Rescuer Project
Fire Detection Module
Background
The Fast-Fire Detection Method
Experiments
Conclusions
Page 4
Rescuer Project
The RESCUER project is a BR-EU consortium aiming at developing solutions to improve the decision-making process in disaster situations:
Industrial plants;
Densely populated area;
Crowded events;
Project details: http://www.rescuer-project.org/
Page 5
A smartphone user
sends textual data
about the situation.
The user may also upload
multimedia content such as
photo and video
Multimedia
data are
automatically
analyzed
http://www.rescuer-project.org/
Page 6
A smartphone user
sends textual data
about the situation.
The user may also upload
multimedia content such as
photo and video
Multimedia
data are
automatically
analyzed
http://www.rescuer-project.org/ http://www.rescuer-project.org/
Page 7
A smartphone user
sends textual data
about the situation.
The user may also upload
multimedia content such as
photo and video
Multimedia
data are
automatically
analyzed
http://www.rescuer-project.org/ http://www.rescuer-project.org/
Page 8
A smartphone user
sends textual data
about the situation.
The user may also upload
multimedia content such as
photo and video
Multimedia
data are
automatically
analyzed
http://www.rescuer-project.org/ http://www.rescuer-project.org/
Page 9
Image Analysis
• Fire detection
– Presence of fire images located near an emergency scenario
Page 10
Image Analysis
• Fire detection
– Presence of fire images located near an emergency scenario
Page 11
Image Analysis
• Fire detection
– Presence of fire images located near an emergency scenario
Identify fire presence in images
arriving from the Flickr social network
Page 12
Problem Definition
• Problem Definition
– Given an image previously updated to a social media service, return 'true' if there is fire or 'false' otherwise.
Page 13
Outline
Introduction
Background
The Fast-Fire Detection Method
Experiments
Conclusions
Page 14
Outline
Introduction
Background
Feature Extractor Methods
Evaluation Functions
Instance-Based Learning
The Fast-Fire Detection Method
Experiments
Conclusions
Page 15
Fire Detection Module
• Feature Extractor Methods
– MPEG-7: designed to represent color, texture and shape
– Standardize representation for color images
Page 16
MPEG7 - Color Extractor Methods
Spatial Correlation Number of Features Color Space
Color Layout Yes 16 YCbCr
Page 17
MPEG7 - Color Extractor Methods
Spatial Correlation Number of Features Color Space
Color Layout Yes 16 YCbCr
Color Structure Yes 128 HMMD
Page 18
MPEG7 - Color Extractor Methods
• Hue
• Saturation
• Value
Haar transform
Spatial Correlation Number of Features Color Space
Color Layout Yes 16 YCbCr
Color Structure Yes 128 HMMD
Scalable Color No 256 HSV
Page 19
MPEG7 - Color Extractor Methods
Spatial Correlation Number of Features Color Space
Color Layout Yes 16 YCbCr
Color Structure Yes 128 HMMD
Scalable Color No 256 HSV
Color
Temperature
No 1 XYZ
Page 20
MPEG7 - Texture Methods
- Local Count
- Global Count
Count Approach Number of Features
Edge Histogram Yes 150
Page 21
MPEG7 - Texture Methods
Count Approach Number of Features
Edge Histogram Yes 150
Texture-Browsing No 12
Page 22
Evaluation Functions
Evaluation Function Distance Function Acronym
City-Block Yes CB
Euclidean Yes EU
Chebyshev Yes CH
Canberra Yes CA
• We employed six evaluation functions as possibles setting to the classification task
Page 23
Evaluation Functions
• We employed six evaluation functions as possibles setting to the classification task
Evaluation Function Distance Function Acronym
City-Block Yes CB
Euclidean Yes EU
Chebyshev Yes CH
Canberra Yes CA
Kullback-Leibler No KU
Jeffrey Divergence No JF
Page 24
Image Descriptors
• Image Descriptor
– An image descriptor is a pair <feature extractor method, evaluation function>
– By using the previous evaluation functions and feature extractor methods, 36 can be arranged.
– Image descriptors define the search space.
24
Page 25
Instance-Based Learning
• Assumption: Elements of the same class belong to the same neighborhood
Iq
Page 26
Instance-Based Learning
• Assumption: Elements of the same class belong to the same neighborhood
Iq
Page 27
Instance-Based Learning
• Assumption: Elements of the same class belong to the same neighborhood
Iq
Page 28
Instance-Based Learning
The Iq is labeled according to its k
nearest neighbors.
Iq
Page 29
Outline
Introduction
Background
The Fast-Fire Detection Method
Experiments
Conclusions
Page 30
Outline
Introduction
Background
The Fast-Fire Detection Method
Architecture
Fire-Flickr Dataset
Experiments
Conclusions
Page 31
Fire Detection Module
Image
Page 32
Fire Detection Module
0.7 0.4 0.1 0.9 0.2 ...
Data representation
through a Feature
Extractor Method
Image
Page 33
Fire Detection Module
0.7 0.4 0.1 0.9 0.2 ...
Data representation
through a Feature
Extractor Method
Image
Classifier
Knowledge
Database
Page 34
Fire Detection Module
0.7 0.4 0.1 0.9 0.2 ...
Data representation
through a Feature
Extractor Method
Image
Data classification –
may require an
Evaluation Function
Classifier
Knowledge
Database
Page 35
The FFireDt Method
• FFireDT: Our proposal
– Setting: Image Descriptor
– Set of modules to perform image analysis:
• Feature Extractor Module
• Evaluation Functions Module
• IBL classifier module
Page 36
The FFireDt Method
Page 37
The FFireDt Method
Page 38
The FFireDt Method
Page 39
Fire-Flickr Dataset
• Downloaded 5,962 images from Flickr API
– Textual descriptors as ‘fire car accident’, ‘criminal fire’, ‘house burning’, etc.
– 7 subjects (non-blinded) evaluated the images as containing or not traces of fire
• Average disagreement 7.2%
– 1,000 images with and without fire
Page 40
Fire-Flickr Dataset
{fire}
{not fire}
• Dataset avaliable at: www.gbdi.icmc.usp.br
– Including the extractors and functions
Page 41
Outline
Introduction
Background
The Fast-Fire Detection Method
Experiments
Conclusions
Page 42
Outline
Introduction
Background
The Fast-Fire Detection Method
Experiments
F-measure
Precision x Recall and ROC curves
Performance Evaluation
Conclusions
Page 43
Experiments
• Metrics to evaluate FFireDt
– Test to evaluate F-Measure
– Precision vs. Recall curves
– ROC curves
• Processing Performance
– Image Descriptors
• ‘Cost x Benefit’ Analysis
Page 44
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
0.9
0.85
0.8
0.75
0.7
0.65
0.6
0.55
0.5
0.45
City-Block
Jeffrey Divergence
Canberra
Kullback Leibler
Euclidean
Chebyshev
Results
• F-Measure using all possible settings for FFireDt
F-Measure -> Higher is better
Page 45
Results
• F-Measure using all possible settings for FFireDt
0.847
Image Descriptor <Color Layout, Euclidean>
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
0.9
0.85
0.8
0.75
0.7
0.65
0.6
0.55
0.5
0.45
City-Block
Jeffrey Divergence
Canberra
Kullback Leibler
Euclidean
Chebyshev
Page 46
Results
• F-Measure using all possible settings for FFireDt
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
0.9
0.85
0.8
0.75
0.7
0.65
0.6
0.55
0.5
0.45
City-Block
Jeffrey Divergence
Canberra
Kullback Leibler
Euclidean
Chebyshev
0.843
Image Descriptor <Scalable Color, City-Block>
Page 47
Results
• F-Measure using all possible settings for FFireDt
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
0.9
0.85
0.8
0.75
0.7
0.65
0.6
0.55
0.5
0.45
City-Block
Jeffrey Divergence
Canberra
Kullback Leibler
Euclidean
Chebyshev
0.866
Image Descriptor <Color Structure, Jeffrey>
Page 48
Results
• F-Measure using all possible settings for FFireDt
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
0.9
0.85
0.8
0.75
0.7
0.65
0.6
0.55
0.5
0.45
City-Block
Jeffrey Divergence
Canberra
Kullback Leibler
Euclidean
Chebyshev
0.800
Image Descriptor <Color Temperature, Canberra>
Page 49
Results
• F-Measure using all possible settings for FFireDt
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
0.9
0.85
0.8
0.75
0.7
0.65
0.6
0.55
0.5
0.45
City-Block
Jeffrey Divergence
Canberra
Kullback Leibler
Euclidean
Chebyshev
0.815
Image Descriptor <Edge Histogram, Jeffrey>
Page 50
Results
• F-Measure using all possible settings for FFireDt
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
0.9
0.85
0.8
0.75
0.7
0.65
0.6
0.55
0.5
0.45
City-Block
Jeffrey Divergence
Canberra
Kullback Leibler
Euclidean
Chebyshev
0.766
Image Descriptor <Texture Browsing, City-Block>
Page 51
Results
• The top-6 image descriptors grouped by feature extractor methods were:
– ID1: Color Strucuture and Jeffrey Divergence
– ID2: Color Layout and Euclidean
– ID3: Scalable Color and City-Block
– ID4: Edge Histogram and Jeffrey Divergence
– ID5: Color Temperature and Canberra
– ID6: Texture Browsing and City-Block
Page 52
Results
• The Precision-Recall curves show that ID1, ID2 and ID3 achieved a better behavior than others
Page 53
Results
• The Precision-Recall curves show that ID1, ID2 and ID3 achieved a better behavior than others
Page 54
Results
• The Precision-Recall curves show that ID1, ID2 and ID3 achieved a better behavior than others
–We discard the bottom-3 candidates
Page 55
Results
• We checked the ROC curves for ID1, ID2 and ID3
Page 56
Results
• We checked the ROC curves for ID1, ID2 and ID3
Page 57
Results
• We checked the ROC curves for ID1, ID2 and ID3
Page 58
Results
• We checked the ROC curves for ID1, ID2 and ID3
The choice becomes a
matter of
performance!
Page 59
Results
• Processing Time
– Feature Extractor Method
Page 60
Results
• Processing Time
– Feature Extractor Method
Page 61
Results
• Processing Time
– Evaluation Function costs
Page 62
Results
• Processing Time
– Evaluation Function costs
Page 63
Results
• Performance Analysis (cost vs. benefit)
– Feature Extractor Methods
• Color Structure and Scalable Color
– Evaluation Functions
• City Block, Euclidean, and Chebyshev as Evaluation Functions
Page 64
Results
• Performance Analysis (cost vs. benefit) – Color Structure and Scalable Color
– City Block,Euclidean, and Chebyshev 0.853
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
0.9
0.85
0.8
0.75
0.7
0.65
0.6
0.55
0.5
0.45
City-Block
Jeffrey Divergence
Canberra
Kullback Leibler
Euclidean
Chebyshev
Page 65
Outline
Introduction
Background
The Fast-Fire Detection Method
Experiments
Conclusions
Page 66
Conclusions
• We designed a new approach to fire detection: FFireDT
• FFireDT has achieved a precision closer to human annotation in fire detection
– Experiments show the precision and computational cost
– Determine the most suitable Image Descriptor as FFireDT setting
Page 67
Thank you for your attention!
Techniques for effective and efficient fire detection from social media images
Marcos Vinícius Naves Bedo (speaker) [email protected]
Gustavo Blanco, Willian Oliveira, Mirela Cazzolato, Alceu Costa, José F. Rodrigues Jr.,
Agma Traina, Caetano Traina Jr.
Page 68
Results
• FFireDt using Instance Based Learning vs. other classifiers
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
FFireDT
Naive-Bayes
RandomForest
J48
0.8
0.7
0.6
0.5
0.4
0.3
0.9
Page 69
Color
Layout
Scalable
Color
Color
Structure
Color
Temperature
Edge
Histogram
Texture
Browsing
FFireDT
Naive-Bayes
RandomForest
J48
0.8
0.7
0.6
0.5
0.4
0.3
0.9
Results
• FFireDt using Instance Based Learning vs. other classifiers