SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Downloaden Sie, um offline zu lesen
A Real-Time Big Data Architecture For
Glasses Detection Using Computer
Vision Techniques
Alberto Fernández, Rubén Casado, Rubén
Usamentiaga
1
OUTLINE
● Introduction
● Algorithm for glasses detection
● Big Data architecture for glasses detection
● Conclusions
● Future work
2Alberto Fernández - alberto.fernandez@fundacionctic.org
INTRODUCTION
● The rise of Internet, IoT and Cloud Computing has
led to an impressive growth of data
● Increasing information gathered by low-cost
information sensing devices
● Domain-specific information collected by
organizations should be analyzed automatically
3
LOGS SENSORS CAMERAS MICROPHONES
MOBILE
DEVICES
Alberto Fernández - alberto.fernandez@fundacionctic.org
INTRODUCTION
● SQL-based DB perfect for storing and processing
structured data but not prepared for Big Data
● Big Data is characterized by the 3Vs
○ Volume: the size of the data to be processed
○ Velocity: frequency of the data generation, dynamic
aspects of the data and generating the results in RT.
○ Variety: multimodal nature of data:
■ different data schemas of data source
■ structured data (ontologies)
■ unstructured data (sensors signals)
4Alberto Fernández - alberto.fernandez@fundacionctic.org
INTRODUCTION
● Big Data architectures can be classified into:
○ Batch processing (not real time)
■ Efficient way of processing high volumes of data
collected during a period of time.
■ Information collected into “batches” as a unit
○ Stream processing
■ Continuous input > processing > output data
■ low-response time achieved at the expense of less
rigorous analysis of data
○ Hybrid processing
■ Batch and stream processing results are required
■ Results are merged, synchronized and composed
5Alberto Fernández - alberto.fernandez@fundacionctic.org
INTRODUCTION
● Video/image generated by sensors and devices has
become the largest source
○ Processing surveillance videos for information extraction
requires real-time stream processing
○ The video data requires to get processed on time to extract
the full benefit of surveillance:
■ warning in case of emergency
■ something wrong is detected
6Alberto Fernández - alberto.fernandez@fundacionctic.org
INTRODUCTION
● Big Data architecture for streaming processing of
large amounts of images is proposed:
○ A real-time scalable system for automatic glasses
detection using video images.
● Contributions
○ A scalable low-latency architecture for image analysis
using Big Data technologies
○ Parallelization of a glasses detection strategy
○ Parametrized to detect other face attributes
7Alberto Fernández - alberto.fernandez@fundacionctic.org
PROPOSED SYSTEM AND ARCHITECTURE
● Glasses detection on face images
● Big data architecture for glasses detection on face
images
8Alberto Fernández - alberto.fernandez@fundacionctic.org
GLASSES DETECTION ON FACE IMAGES
● Image acquisition
● Face detection
● Preprocessing of detected face
● Get the feature sets
● Classify features
9
Image
acquisition
Face
detection
Pre-
processing
Build
features
Classifi-
cation
Alberto Fernández - alberto.fernandez@fundacionctic.org
GLASSES DETECTION ON FACE IMAGES
● Image acquisition
○ Read frame from input video
○ Convert it to grayscale
10Alberto Fernández - alberto.fernandez@fundacionctic.org
GLASSES DETECTION ON FACE IMAGES
● Face detection
○ Viola & Jones algorithm is used:
■ robust (high detection rate:high TP and very low FP)
■ executed in real time
11Alberto Fernández - alberto.fernandez@fundacionctic.org
GLASSES DETECTION ON FACE IMAGES
● Preprocessing of detected face in order to deal with:
○ pose, rotation, scale and inaccuracies of located face
○ noisepiece is placed at the same level as the eyes both in
height and width
12Alberto Fernández - alberto.fernandez@fundacionctic.org
GLASSES DETECTION ON FACE IMAGES
● Get the feature sets: Local Binary Pattern (LBP)
○ LBP is a well-known technique in computer vision
■ LBP is a type of feature used for classification
○ LBP histogram (LBPH) is usually built for texture classification
○ LBPH into mxn regions is calculated to get spatial information
13
LBP
LBP
Alberto Fernández - alberto.fernandez@fundacionctic.org
GLASSES DETECTION ON FACE IMAGES
● Classify features
○ Support Vector Machine (SVM) is applied to classify the
feature sets
○ SVMs are a useful technique for data classification
■ have been proven useful in many pattern recognition
tasks i.e. face recognition
14
GLASSES
NO GLASSES
Alberto Fernández - alberto.fernandez@fundacionctic.org
LBP histogram
BIG DATA ARCHITECTURE
● Big Data architecture is proposed
● Parallelize the different steps of the glasses
detection workflows.
○ Topology implemented with a streaming technology
Apache Storm
○ Storm is a distributed real-time computation system
released as open source by Twitter
● Parametrized to detect other face
attributes
15Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
Architecture in Storm: two elements
● Spouts read information from the source and emit
the data as K-V tuples
○ Reads from a message broker (RabbitMQ, Kafka) or
streaming API
● Bolts process information coming from the spouts
or other bolts.
● Storm defines topologies connecting bolts and
spouts to process in streaming
SPOUT
represented as
BOLT
represented as
16Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
17Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
VideoSpout:
● Split the video streaming into a sequence of images
(frames).
○ This Spout uses a shuffle grouping
■ Frames are randomly distributed across the next bolts
■ Each bolt is guaranteed to get an equal number of
frames
18Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
V&Bolt:
● Viola & Jones algorithm is applied for each frame
● The output of this algorithm is estimated positions
of detected faces as rectangles
19Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
NormalizationBolt:
● From each rectangle, it calculates the region
around the eyes
● Returns this region to next step
20Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
LBPHBolt:
● LBP operator is applied to the normalized region
● A spatially enhanced histogram is constructed
● These features are used in the next step
21Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
SVMBolt:
● Support Vector Machine (SVM) is applied on the
classification step.
● Glasses/no glasses classification will be finally
obtained
22Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
● Closed/open eyes classifier using the same architecture
23Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
● Smile classifier using another normalization bolt
24Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
● Gender classifier using another normalization bolt
25Alberto Fernández - alberto.fernandez@fundacionctic.org
BIG DATA ARCHITECTURE
● Type of glasses using another classification bolt
26
SPORT GLASSES
SAFETY GLASSES
SUNGLASSES
GOOGLE GLASSES
Alberto Fernández - alberto.fernandez@fundacionctic.org
CONCLUSIONS
● Real-time Big Data architecture
○ Collect, maintain and analyze massive volumes of
images
○ It can be modified in order to detect other attributes:
■ smile, gender, age or face recognition classifiers
27Alberto Fernández - alberto.fernandez@fundacionctic.org
FUTURE WORK
● Deep Learning
○ Deep Learning algorithms in our pipeline detection
architecture will be proposed
28Alberto Fernández - alberto.fernandez@fundacionctic.org
29Alberto Fernández - alberto.fernandez@fundacionctic.org
Thanks for your attention
Alberto Fernández
alberto.fernandez@fundacionctic.org
A Real-Time Big Data Architecture
For Glasses Detection Using
Computer Vision Techniques
Alberto Fernández, Rubén Casado,
Rubén Usamentiaga

Weitere ähnliche Inhalte

Andere mochten auch

Streamlining Technology to Reduce Complexity and Improve Productivity
Streamlining Technology to Reduce Complexity and Improve ProductivityStreamlining Technology to Reduce Complexity and Improve Productivity
Streamlining Technology to Reduce Complexity and Improve ProductivityKevin Fream
 
Applying Reinforcement Learning for Network Routing
Applying Reinforcement Learning for Network RoutingApplying Reinforcement Learning for Network Routing
Applying Reinforcement Learning for Network Routingbutest
 
Machine Learning techniques
Machine Learning techniques Machine Learning techniques
Machine Learning techniques Jigar Patel
 
Pattern Recognition and Machine Learning : Graphical Models
Pattern Recognition and Machine Learning : Graphical ModelsPattern Recognition and Machine Learning : Graphical Models
Pattern Recognition and Machine Learning : Graphical Modelsbutest
 
graphical models for the Internet
graphical models for the Internetgraphical models for the Internet
graphical models for the Internetantiw
 
Les outils de modélisation des Big Data
Les outils de modélisation des Big DataLes outils de modélisation des Big Data
Les outils de modélisation des Big DataKezhan SHI
 
Nearest Neighbor Customer Insight
Nearest Neighbor Customer InsightNearest Neighbor Customer Insight
Nearest Neighbor Customer InsightMapR Technologies
 
Web Crawling and Reinforcement Learning
Web Crawling and Reinforcement LearningWeb Crawling and Reinforcement Learning
Web Crawling and Reinforcement LearningFrancesco Gadaleta
 
[PRML 3.1~3.2] Linear Regression / Bias-Variance Decomposition
[PRML 3.1~3.2] Linear Regression / Bias-Variance Decomposition [PRML 3.1~3.2] Linear Regression / Bias-Variance Decomposition
[PRML 3.1~3.2] Linear Regression / Bias-Variance Decomposition DongHyun Kwak
 
A system to filter unwanted messages from osn user walls
A system to filter unwanted messages from osn user wallsA system to filter unwanted messages from osn user walls
A system to filter unwanted messages from osn user wallsIEEEFINALYEARPROJECTS
 
Aggregation for searching complex information spaces
Aggregation for searching complex information spacesAggregation for searching complex information spaces
Aggregation for searching complex information spacesMounia Lalmas-Roelleke
 
Big Data Paradigm - Analysis, Application and Challenges
Big Data Paradigm - Analysis, Application and ChallengesBig Data Paradigm - Analysis, Application and Challenges
Big Data Paradigm - Analysis, Application and ChallengesUyoyo Edosio
 
Sourcing talent a key recruiting differentiator part 2 - the (Big) Data Lands...
Sourcing talent a key recruiting differentiator part 2 - the (Big) Data Lands...Sourcing talent a key recruiting differentiator part 2 - the (Big) Data Lands...
Sourcing talent a key recruiting differentiator part 2 - the (Big) Data Lands...Alexander Crépin
 
On cascading small decision trees
On cascading small decision treesOn cascading small decision trees
On cascading small decision treesJulià Minguillón
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement LearningJungyeol
 
第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」
第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」
第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」Tsukasa Sugiura
 

Andere mochten auch (16)

Streamlining Technology to Reduce Complexity and Improve Productivity
Streamlining Technology to Reduce Complexity and Improve ProductivityStreamlining Technology to Reduce Complexity and Improve Productivity
Streamlining Technology to Reduce Complexity and Improve Productivity
 
Applying Reinforcement Learning for Network Routing
Applying Reinforcement Learning for Network RoutingApplying Reinforcement Learning for Network Routing
Applying Reinforcement Learning for Network Routing
 
Machine Learning techniques
Machine Learning techniques Machine Learning techniques
Machine Learning techniques
 
Pattern Recognition and Machine Learning : Graphical Models
Pattern Recognition and Machine Learning : Graphical ModelsPattern Recognition and Machine Learning : Graphical Models
Pattern Recognition and Machine Learning : Graphical Models
 
graphical models for the Internet
graphical models for the Internetgraphical models for the Internet
graphical models for the Internet
 
Les outils de modélisation des Big Data
Les outils de modélisation des Big DataLes outils de modélisation des Big Data
Les outils de modélisation des Big Data
 
Nearest Neighbor Customer Insight
Nearest Neighbor Customer InsightNearest Neighbor Customer Insight
Nearest Neighbor Customer Insight
 
Web Crawling and Reinforcement Learning
Web Crawling and Reinforcement LearningWeb Crawling and Reinforcement Learning
Web Crawling and Reinforcement Learning
 
[PRML 3.1~3.2] Linear Regression / Bias-Variance Decomposition
[PRML 3.1~3.2] Linear Regression / Bias-Variance Decomposition [PRML 3.1~3.2] Linear Regression / Bias-Variance Decomposition
[PRML 3.1~3.2] Linear Regression / Bias-Variance Decomposition
 
A system to filter unwanted messages from osn user walls
A system to filter unwanted messages from osn user wallsA system to filter unwanted messages from osn user walls
A system to filter unwanted messages from osn user walls
 
Aggregation for searching complex information spaces
Aggregation for searching complex information spacesAggregation for searching complex information spaces
Aggregation for searching complex information spaces
 
Big Data Paradigm - Analysis, Application and Challenges
Big Data Paradigm - Analysis, Application and ChallengesBig Data Paradigm - Analysis, Application and Challenges
Big Data Paradigm - Analysis, Application and Challenges
 
Sourcing talent a key recruiting differentiator part 2 - the (Big) Data Lands...
Sourcing talent a key recruiting differentiator part 2 - the (Big) Data Lands...Sourcing talent a key recruiting differentiator part 2 - the (Big) Data Lands...
Sourcing talent a key recruiting differentiator part 2 - the (Big) Data Lands...
 
On cascading small decision trees
On cascading small decision treesOn cascading small decision trees
On cascading small decision trees
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
 
第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」
第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」
第38回 名古屋CV・PRML勉強会 「Kinect v2本の紹介とPCLの概要」
 

Ähnlich wie A real-time big data architecture for glasses detection using computer vision techniques

WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
WSO2Con USA 2015: An Introduction to the WSO2 Analytics PlatformWSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
WSO2Con USA 2015: An Introduction to the WSO2 Analytics PlatformWSO2
 
How to fully automate a store.pptx
How to fully automate a store.pptxHow to fully automate a store.pptx
How to fully automate a store.pptxIgor Moiseev
 
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Codemotion
 
Monitoring Big Data Systems - "The Simple Way"
Monitoring Big Data Systems - "The Simple Way"Monitoring Big Data Systems - "The Simple Way"
Monitoring Big Data Systems - "The Simple Way"Demi Ben-Ari
 
An introduction to the WSO2 Analytics Platform
An introduction to the WSO2 Analytics Platform   An introduction to the WSO2 Analytics Platform
An introduction to the WSO2 Analytics Platform Sriskandarajah Suhothayan
 
Automatic image moderation in classifieds
Automatic image moderation in classifiedsAutomatic image moderation in classifieds
Automatic image moderation in classifiedsJaroslaw Szymczak
 
Automatic image moderation in classifieds, Jarosław Szymczak
Automatic image moderation in classifieds, Jarosław SzymczakAutomatic image moderation in classifieds, Jarosław Szymczak
Automatic image moderation in classifieds, Jarosław SzymczakPôle Systematic Paris-Region
 
Computer Vision – From traditional approaches to deep neural networks
Computer Vision – From traditional approaches to deep neural networksComputer Vision – From traditional approaches to deep neural networks
Computer Vision – From traditional approaches to deep neural networksinovex GmbH
 
Computer architecture for vision system
Computer architecture for vision systemComputer architecture for vision system
Computer architecture for vision systemAkashPatil334
 
بینایی ماشین
بینایی ماشینبینایی ماشین
بینایی ماشینShiraz LUG
 
Combining Machine Learning with Physical Computing - June 2023
Combining Machine Learning with Physical Computing - June 2023Combining Machine Learning with Physical Computing - June 2023
Combining Machine Learning with Physical Computing - June 2023Hal Speed
 
SoftElegance Services: Data Science, Data Engineering, Big Data Architecture
SoftElegance Services: Data Science, Data Engineering, Big Data Architecture SoftElegance Services: Data Science, Data Engineering, Big Data Architecture
SoftElegance Services: Data Science, Data Engineering, Big Data Architecture Daryna Dubitska
 
20181128 satellogic @ barcelona ai
20181128 satellogic @ barcelona ai20181128 satellogic @ barcelona ai
20181128 satellogic @ barcelona aiAlbert Pujol Torras
 
JOSA Data Science Bootcamp Overview
JOSA Data Science Bootcamp OverviewJOSA Data Science Bootcamp Overview
JOSA Data Science Bootcamp OverviewMahmoud Jalajel
 

Ähnlich wie A real-time big data architecture for glasses detection using computer vision techniques (20)

WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
WSO2Con USA 2015: An Introduction to the WSO2 Analytics PlatformWSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
 
Computer vision
Computer visionComputer vision
Computer vision
 
How to fully automate a store.pptx
How to fully automate a store.pptxHow to fully automate a store.pptx
How to fully automate a store.pptx
 
IoT Session Thomas More
IoT Session Thomas MoreIoT Session Thomas More
IoT Session Thomas More
 
Cc internet of things @ Thomas More
Cc internet of things @ Thomas MoreCc internet of things @ Thomas More
Cc internet of things @ Thomas More
 
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
 
Monitoring Big Data Systems - "The Simple Way"
Monitoring Big Data Systems - "The Simple Way"Monitoring Big Data Systems - "The Simple Way"
Monitoring Big Data Systems - "The Simple Way"
 
An introduction to the WSO2 Analytics Platform
An introduction to the WSO2 Analytics Platform   An introduction to the WSO2 Analytics Platform
An introduction to the WSO2 Analytics Platform
 
Automatic image moderation in classifieds
Automatic image moderation in classifiedsAutomatic image moderation in classifieds
Automatic image moderation in classifieds
 
Automatic image moderation in classifieds, Jarosław Szymczak
Automatic image moderation in classifieds, Jarosław SzymczakAutomatic image moderation in classifieds, Jarosław Szymczak
Automatic image moderation in classifieds, Jarosław Szymczak
 
Computer Vision – From traditional approaches to deep neural networks
Computer Vision – From traditional approaches to deep neural networksComputer Vision – From traditional approaches to deep neural networks
Computer Vision – From traditional approaches to deep neural networks
 
Sensing the world with data of things
Sensing the world with  data of thingsSensing the world with  data of things
Sensing the world with data of things
 
Sensing the world with Data of Things
Sensing the world with Data of ThingsSensing the world with Data of Things
Sensing the world with Data of Things
 
Computer architecture for vision system
Computer architecture for vision systemComputer architecture for vision system
Computer architecture for vision system
 
OpenCV
OpenCVOpenCV
OpenCV
 
بینایی ماشین
بینایی ماشینبینایی ماشین
بینایی ماشین
 
Combining Machine Learning with Physical Computing - June 2023
Combining Machine Learning with Physical Computing - June 2023Combining Machine Learning with Physical Computing - June 2023
Combining Machine Learning with Physical Computing - June 2023
 
SoftElegance Services: Data Science, Data Engineering, Big Data Architecture
SoftElegance Services: Data Science, Data Engineering, Big Data Architecture SoftElegance Services: Data Science, Data Engineering, Big Data Architecture
SoftElegance Services: Data Science, Data Engineering, Big Data Architecture
 
20181128 satellogic @ barcelona ai
20181128 satellogic @ barcelona ai20181128 satellogic @ barcelona ai
20181128 satellogic @ barcelona ai
 
JOSA Data Science Bootcamp Overview
JOSA Data Science Bootcamp OverviewJOSA Data Science Bootcamp Overview
JOSA Data Science Bootcamp Overview
 

Kürzlich hochgeladen

Most Inspirational Leaders Empowering the Educational Sector, 2024.pdf
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdfMost Inspirational Leaders Empowering the Educational Sector, 2024.pdf
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdfTheKnowledgeReview2
 
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一F La
 
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docx
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docxOutsmarting the Attackers A Deep Dive into Threat Intelligence.docx
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docxmanas23pgdm157
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样umasea
 
Issues in the Philippines (Unemployment and Underemployment).pptx
Issues in the Philippines (Unemployment and Underemployment).pptxIssues in the Philippines (Unemployment and Underemployment).pptx
Issues in the Philippines (Unemployment and Underemployment).pptxJenniferPeraro1
 
Ioannis Tzachristas Self-Presentation for MBA.pdf
Ioannis Tzachristas Self-Presentation for MBA.pdfIoannis Tzachristas Self-Presentation for MBA.pdf
Ioannis Tzachristas Self-Presentation for MBA.pdfjtzach
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一A SSS
 
ME 205- Chapter 6 - Pure Bending of Beams.pdf
ME 205- Chapter 6 - Pure Bending of Beams.pdfME 205- Chapter 6 - Pure Bending of Beams.pdf
ME 205- Chapter 6 - Pure Bending of Beams.pdfaae4149584
 
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一Fs sss
 
Kindergarten-DLL-MELC-Q3-Week 2 asf.docx
Kindergarten-DLL-MELC-Q3-Week 2 asf.docxKindergarten-DLL-MELC-Q3-Week 2 asf.docx
Kindergarten-DLL-MELC-Q3-Week 2 asf.docxLesterJayAquino
 
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一fjjwgk
 
do's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Jobdo's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of JobRemote DBA Services
 
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证diploma001
 
tools in IDTelated to first year vtu students is useful where they can refer ...
tools in IDTelated to first year vtu students is useful where they can refer ...tools in IDTelated to first year vtu students is useful where they can refer ...
tools in IDTelated to first year vtu students is useful where they can refer ...vinbld123
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改yuu sss
 
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一2s3dgmej
 
Ch. 9- __Skin, hair and nail Assessment (1).pdf
Ch. 9- __Skin, hair and nail Assessment (1).pdfCh. 9- __Skin, hair and nail Assessment (1).pdf
Ch. 9- __Skin, hair and nail Assessment (1).pdfJamalYaseenJameelOde
 
Escort Service Andheri WhatsApp:+91-9833363713
Escort Service Andheri WhatsApp:+91-9833363713Escort Service Andheri WhatsApp:+91-9833363713
Escort Service Andheri WhatsApp:+91-9833363713Riya Pathan
 
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一Fs
 

Kürzlich hochgeladen (20)

Most Inspirational Leaders Empowering the Educational Sector, 2024.pdf
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdfMost Inspirational Leaders Empowering the Educational Sector, 2024.pdf
Most Inspirational Leaders Empowering the Educational Sector, 2024.pdf
 
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
 
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docx
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docxOutsmarting the Attackers A Deep Dive into Threat Intelligence.docx
Outsmarting the Attackers A Deep Dive into Threat Intelligence.docx
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
 
Issues in the Philippines (Unemployment and Underemployment).pptx
Issues in the Philippines (Unemployment and Underemployment).pptxIssues in the Philippines (Unemployment and Underemployment).pptx
Issues in the Philippines (Unemployment and Underemployment).pptx
 
Ioannis Tzachristas Self-Presentation for MBA.pdf
Ioannis Tzachristas Self-Presentation for MBA.pdfIoannis Tzachristas Self-Presentation for MBA.pdf
Ioannis Tzachristas Self-Presentation for MBA.pdf
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
 
ME 205- Chapter 6 - Pure Bending of Beams.pdf
ME 205- Chapter 6 - Pure Bending of Beams.pdfME 205- Chapter 6 - Pure Bending of Beams.pdf
ME 205- Chapter 6 - Pure Bending of Beams.pdf
 
FULL ENJOY Call Girls In Gautam Nagar (Delhi) Call Us 9953056974
FULL ENJOY Call Girls In Gautam Nagar (Delhi) Call Us 9953056974FULL ENJOY Call Girls In Gautam Nagar (Delhi) Call Us 9953056974
FULL ENJOY Call Girls In Gautam Nagar (Delhi) Call Us 9953056974
 
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
 
Kindergarten-DLL-MELC-Q3-Week 2 asf.docx
Kindergarten-DLL-MELC-Q3-Week 2 asf.docxKindergarten-DLL-MELC-Q3-Week 2 asf.docx
Kindergarten-DLL-MELC-Q3-Week 2 asf.docx
 
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
 
do's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Jobdo's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Job
 
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
 
tools in IDTelated to first year vtu students is useful where they can refer ...
tools in IDTelated to first year vtu students is useful where they can refer ...tools in IDTelated to first year vtu students is useful where they can refer ...
tools in IDTelated to first year vtu students is useful where they can refer ...
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
 
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
定制(NYIT毕业证书)美国纽约理工学院毕业证成绩单原版一比一
 
Ch. 9- __Skin, hair and nail Assessment (1).pdf
Ch. 9- __Skin, hair and nail Assessment (1).pdfCh. 9- __Skin, hair and nail Assessment (1).pdf
Ch. 9- __Skin, hair and nail Assessment (1).pdf
 
Escort Service Andheri WhatsApp:+91-9833363713
Escort Service Andheri WhatsApp:+91-9833363713Escort Service Andheri WhatsApp:+91-9833363713
Escort Service Andheri WhatsApp:+91-9833363713
 
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
 

A real-time big data architecture for glasses detection using computer vision techniques

  • 1. A Real-Time Big Data Architecture For Glasses Detection Using Computer Vision Techniques Alberto Fernández, Rubén Casado, Rubén Usamentiaga 1
  • 2. OUTLINE ● Introduction ● Algorithm for glasses detection ● Big Data architecture for glasses detection ● Conclusions ● Future work 2Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 3. INTRODUCTION ● The rise of Internet, IoT and Cloud Computing has led to an impressive growth of data ● Increasing information gathered by low-cost information sensing devices ● Domain-specific information collected by organizations should be analyzed automatically 3 LOGS SENSORS CAMERAS MICROPHONES MOBILE DEVICES Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 4. INTRODUCTION ● SQL-based DB perfect for storing and processing structured data but not prepared for Big Data ● Big Data is characterized by the 3Vs ○ Volume: the size of the data to be processed ○ Velocity: frequency of the data generation, dynamic aspects of the data and generating the results in RT. ○ Variety: multimodal nature of data: ■ different data schemas of data source ■ structured data (ontologies) ■ unstructured data (sensors signals) 4Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 5. INTRODUCTION ● Big Data architectures can be classified into: ○ Batch processing (not real time) ■ Efficient way of processing high volumes of data collected during a period of time. ■ Information collected into “batches” as a unit ○ Stream processing ■ Continuous input > processing > output data ■ low-response time achieved at the expense of less rigorous analysis of data ○ Hybrid processing ■ Batch and stream processing results are required ■ Results are merged, synchronized and composed 5Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 6. INTRODUCTION ● Video/image generated by sensors and devices has become the largest source ○ Processing surveillance videos for information extraction requires real-time stream processing ○ The video data requires to get processed on time to extract the full benefit of surveillance: ■ warning in case of emergency ■ something wrong is detected 6Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 7. INTRODUCTION ● Big Data architecture for streaming processing of large amounts of images is proposed: ○ A real-time scalable system for automatic glasses detection using video images. ● Contributions ○ A scalable low-latency architecture for image analysis using Big Data technologies ○ Parallelization of a glasses detection strategy ○ Parametrized to detect other face attributes 7Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 8. PROPOSED SYSTEM AND ARCHITECTURE ● Glasses detection on face images ● Big data architecture for glasses detection on face images 8Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 9. GLASSES DETECTION ON FACE IMAGES ● Image acquisition ● Face detection ● Preprocessing of detected face ● Get the feature sets ● Classify features 9 Image acquisition Face detection Pre- processing Build features Classifi- cation Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 10. GLASSES DETECTION ON FACE IMAGES ● Image acquisition ○ Read frame from input video ○ Convert it to grayscale 10Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 11. GLASSES DETECTION ON FACE IMAGES ● Face detection ○ Viola & Jones algorithm is used: ■ robust (high detection rate:high TP and very low FP) ■ executed in real time 11Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 12. GLASSES DETECTION ON FACE IMAGES ● Preprocessing of detected face in order to deal with: ○ pose, rotation, scale and inaccuracies of located face ○ noisepiece is placed at the same level as the eyes both in height and width 12Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 13. GLASSES DETECTION ON FACE IMAGES ● Get the feature sets: Local Binary Pattern (LBP) ○ LBP is a well-known technique in computer vision ■ LBP is a type of feature used for classification ○ LBP histogram (LBPH) is usually built for texture classification ○ LBPH into mxn regions is calculated to get spatial information 13 LBP LBP Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 14. GLASSES DETECTION ON FACE IMAGES ● Classify features ○ Support Vector Machine (SVM) is applied to classify the feature sets ○ SVMs are a useful technique for data classification ■ have been proven useful in many pattern recognition tasks i.e. face recognition 14 GLASSES NO GLASSES Alberto Fernández - alberto.fernandez@fundacionctic.org LBP histogram
  • 15. BIG DATA ARCHITECTURE ● Big Data architecture is proposed ● Parallelize the different steps of the glasses detection workflows. ○ Topology implemented with a streaming technology Apache Storm ○ Storm is a distributed real-time computation system released as open source by Twitter ● Parametrized to detect other face attributes 15Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 16. BIG DATA ARCHITECTURE Architecture in Storm: two elements ● Spouts read information from the source and emit the data as K-V tuples ○ Reads from a message broker (RabbitMQ, Kafka) or streaming API ● Bolts process information coming from the spouts or other bolts. ● Storm defines topologies connecting bolts and spouts to process in streaming SPOUT represented as BOLT represented as 16Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 17. BIG DATA ARCHITECTURE 17Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 18. BIG DATA ARCHITECTURE VideoSpout: ● Split the video streaming into a sequence of images (frames). ○ This Spout uses a shuffle grouping ■ Frames are randomly distributed across the next bolts ■ Each bolt is guaranteed to get an equal number of frames 18Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 19. BIG DATA ARCHITECTURE V&Bolt: ● Viola & Jones algorithm is applied for each frame ● The output of this algorithm is estimated positions of detected faces as rectangles 19Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 20. BIG DATA ARCHITECTURE NormalizationBolt: ● From each rectangle, it calculates the region around the eyes ● Returns this region to next step 20Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 21. BIG DATA ARCHITECTURE LBPHBolt: ● LBP operator is applied to the normalized region ● A spatially enhanced histogram is constructed ● These features are used in the next step 21Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 22. BIG DATA ARCHITECTURE SVMBolt: ● Support Vector Machine (SVM) is applied on the classification step. ● Glasses/no glasses classification will be finally obtained 22Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 23. BIG DATA ARCHITECTURE ● Closed/open eyes classifier using the same architecture 23Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 24. BIG DATA ARCHITECTURE ● Smile classifier using another normalization bolt 24Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 25. BIG DATA ARCHITECTURE ● Gender classifier using another normalization bolt 25Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 26. BIG DATA ARCHITECTURE ● Type of glasses using another classification bolt 26 SPORT GLASSES SAFETY GLASSES SUNGLASSES GOOGLE GLASSES Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 27. CONCLUSIONS ● Real-time Big Data architecture ○ Collect, maintain and analyze massive volumes of images ○ It can be modified in order to detect other attributes: ■ smile, gender, age or face recognition classifiers 27Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 28. FUTURE WORK ● Deep Learning ○ Deep Learning algorithms in our pipeline detection architecture will be proposed 28Alberto Fernández - alberto.fernandez@fundacionctic.org
  • 29. 29Alberto Fernández - alberto.fernandez@fundacionctic.org Thanks for your attention Alberto Fernández alberto.fernandez@fundacionctic.org A Real-Time Big Data Architecture For Glasses Detection Using Computer Vision Techniques Alberto Fernández, Rubén Casado, Rubén Usamentiaga