SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
Human Firewall
Andrea Fioraldi - Mattia Nicolella - Leonardo Sarra
Neighbors united against scammers!
Human Firewall in brief: a smart intercom
- Always connected to the internet
- Take photo and profile the person that rings
the bell
- Trigger a notification to the house/business
owner and provide an evaluation of the
subject (based on peer review)
- It doesn't replace the existing intercom, it is
an addon
Features
Architecture
Technologies
A Cloud-Free System
● All the system COMPLETELY lives in the boards with the
exception of the part in the Telegram servers that is not
managed by us
● All the computation is local
● Made for a condominium (need all the devices in the same
LAN) but can be easily scaled using the same code but a
different deploy setup using a VPN
A Distributed Cluster
● Deploy the system in a NATted WiFi LAN (no open ports to the internet are
needed)
● One Master, many slaves
● A Slave failure is completely tolerated
● Master failure needs a manual reboot but not data loss
● So people can deactivate they intercom (e.g. I’m in holiday at the Bahamas and I
don’t want Telegram messages with the face of the postman) and reactivate it
later without losing the data collected from the others
Easy to Deploy
● Just clone the master-scripts and/or slave-scripts repository
● Run install.py
● All dependencies will be installed and the service will be installed in
systemd
● You need only to specify your private Telegram API key
● Abstraction in the code allow to deploy a demo version on a laptop
Universal Interface
The face of the person at the doorbell is
sent to you via Telegram
You can have it on your SmartPhone, PC
or Tablet
You can manage multiple doorbells and
multiple Telegram accounts can handle
the same doorbell (for families)
Place your screenshot here
Private Cooperative Feedbacks
● Faces features vector are collected and stored only
in the private deployed system and not in the cloud
● Images are used to compute the vector and then
deleted
● The “vendor” cannot get images or even computed
vectors from customers (so this can’t be a Google
product :) )
Features
Architecture
Technologies
Feedbacks
DB Bot
Users DB
Features
Vectors
Subscriber
Telegram client
Camera
ServerQuery &
Send
Find Master
Local
Slave
Slave Master
Vectori
ze
MQTT
Broker
Publisher
Feedbacks
DB Bot
Users DB
Features
Vectors
Subscriber
Telegram client
Camera
ServerQuery &
Send
Find Master
Local
Slave
Slave Master
Vectori
ze
MQTT
Broker
Publisher
Vector, rate,
board ID
Vector, rate,
chat ID, time
Feedbacks
DB Bot
Users DB
Features
Vectors
Subscriber
Telegram client
Camera
ServerQuery &
Send
Local
Slave
Slave Master
Vectori
ze
MQTT
Broker
Publisher
Find Master
Last
timestamp
Features
Architecture
Technologies
Face Recognition Library
An interface to the dlib's state-of-the-art face recognition library that provides several face locations
algorithms and pre-trained vectorization models.
We use the HOG model (O(#pixels)) to locate faces instead that the default CNN model of dlib, a less
accurate model but also less CPU intensive [1].
To compute encodings, the pretrained model is based on ResNet, a Deep CNN [2].
We use a threshold of 0.6 in the euclidean product to detect if two encodings are referred to the same
person, a bit high to scale but it is ok for a condominium.
[1] https://towardsdatascience.com/cnn-based-face-detector-from-dlib-c3696195e01c
[2] http://blog.dlib.net/2017/02/high-quality-face-recognition-with-deep.html
Mosquitto MQTT and Paho
We choose Eclipse Mosquitto as our broker, an open source implementation of an MQTT
broker.
Mosquitto is lightweight and is suitable for use on devices with a low CPU clock.
We choose to not have a persistent storage of messages to not waste disk space.
The MQTT client we opted for is the Eclipse Paho project, which provides open-source
client implementations of MQTT and MQTT-SN messaging protocols for multiple
programming languages (Python included).
Flask
Flask is a microframework for Python based on Werkzeug and Jinja 2.
We use it to host the master board web server since it is an extensible framework
which can be easily tailored for several purposes.
For the basic need of the project we only choose the Flask core module and some
basic extensions which make our web server lightweight and fast.
python-telegram-bot
To interact with Telegram’s APIs (over HTTP) in the bot subsystem we
opted for a community made wrapper named python-telegram-bot.
The wrapper implements a wide range of functionalities from sending
messages to conversation handling, while, preventing synchronization
issues from appearing.
It has a small memory-footprint and low CPU utilization because it
uses webhooks to prevent polling Telegram’s servers.
Raspberry Pi and Pi Camera
We used a Raspberry Pi 3 to host host all the above services and we
make full use of its computational power when we use the face
recognition library in the slave module and when we host the Flask
server and the Telegram bot.
To take the photos we chose the Pi Camera module which is able to
take full HD photos.
User feedback
“This may be useful for my grandma because it could prevent her from opening the door at people
that wants to take advantage of her.”
Luca, 22
“With that I could know who rings at the doorbell when I’m not at home.”
“The telegram notification may be useful when I’m using the earphones and I can’t hear the
doorbell.”
Eleonora, 25
Matteo, 23
Detailed article: https://bit.ly/2J0VAXt
GitHub organization: https://github.com/humanfirewall-iot19
Andrea contacts:
● GitHub: https://github.com/andreafioraldi
● LinkedIn: https://www.linkedin.com/in/andrea-fioraldi/
Leonardo contacts:
● GitHub: https://github.com/LithiumSR/
● LinkedIn: https://www.linkedin.com/in/leonardo-sarra-b34691182/
Mattia contacts:
● GitHub: https://github.com/Nick1296
LinkedIn: https://www.linkedin.com/in/mattianicolella/
Info & Contacts
Thanks for the attention!

Mais conteúdo relacionado

Semelhante a Human Firewall - IoT presentation

Introducing Puppet - The faster speed of Automation
Introducing Puppet - The faster speed of AutomationIntroducing Puppet - The faster speed of Automation
Introducing Puppet - The faster speed of AutomationRamit Surana
 
Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2Mathew Beane
 
SignalR Intro + WPDev
SignalR Intro + WPDevSignalR Intro + WPDev
SignalR Intro + WPDevSam Basu
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsAniruddha Chakrabarti
 
FIWARE Global Summit - Developing New IoT Agents
FIWARE Global Summit - Developing New IoT AgentsFIWARE Global Summit - Developing New IoT Agents
FIWARE Global Summit - Developing New IoT AgentsFIWARE
 
Smart home and smartfactory intelligent systems
Smart home and smartfactory intelligent systemsSmart home and smartfactory intelligent systems
Smart home and smartfactory intelligent systemsLorenzo Maiorfi
 
Final ProjectFinal Project Details Description Given a spec.docx
Final ProjectFinal Project Details Description  Given a spec.docxFinal ProjectFinal Project Details Description  Given a spec.docx
Final ProjectFinal Project Details Description Given a spec.docxAKHIL969626
 
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialPowering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialBenjamin Cabé
 
Panther Sniffer for DQMH®.pptx
Panther Sniffer for DQMH®.pptxPanther Sniffer for DQMH®.pptx
Panther Sniffer for DQMH®.pptxEnriqueNo2
 
SignalR Intro + WPDev integration @ Codetock
SignalR Intro + WPDev integration @ CodetockSignalR Intro + WPDev integration @ Codetock
SignalR Intro + WPDev integration @ CodetockSam Basu
 
Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Benjamin Cabé
 
Advanced web application architecture - Talk
Advanced web application architecture - TalkAdvanced web application architecture - Talk
Advanced web application architecture - TalkMatthias Noback
 
Project presentation
Project presentationProject presentation
Project presentationShabbir Hasan
 
Hacker Halted 2014 - Post-Exploitation After Having Remote Access
Hacker Halted 2014 - Post-Exploitation After Having Remote AccessHacker Halted 2014 - Post-Exploitation After Having Remote Access
Hacker Halted 2014 - Post-Exploitation After Having Remote AccessEC-Council
 
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012Benjamin Cabé
 

Semelhante a Human Firewall - IoT presentation (20)

Introducing Puppet - The faster speed of Automation
Introducing Puppet - The faster speed of AutomationIntroducing Puppet - The faster speed of Automation
Introducing Puppet - The faster speed of Automation
 
Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2
 
Explore Android Internals
Explore Android InternalsExplore Android Internals
Explore Android Internals
 
SignalR Intro + WPDev
SignalR Intro + WPDevSignalR Intro + WPDev
SignalR Intro + WPDev
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflows
 
FIWARE Global Summit - Developing New IoT Agents
FIWARE Global Summit - Developing New IoT AgentsFIWARE Global Summit - Developing New IoT Agents
FIWARE Global Summit - Developing New IoT Agents
 
Smart home and smartfactory intelligent systems
Smart home and smartfactory intelligent systemsSmart home and smartfactory intelligent systems
Smart home and smartfactory intelligent systems
 
Final ProjectFinal Project Details Description Given a spec.docx
Final ProjectFinal Project Details Description  Given a spec.docxFinal ProjectFinal Project Details Description  Given a spec.docx
Final ProjectFinal Project Details Description Given a spec.docx
 
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialPowering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
 
Panther Sniffer for DQMH®.pptx
Panther Sniffer for DQMH®.pptxPanther Sniffer for DQMH®.pptx
Panther Sniffer for DQMH®.pptx
 
SignalR Intro + WPDev integration @ Codetock
SignalR Intro + WPDev integration @ CodetockSignalR Intro + WPDev integration @ Codetock
SignalR Intro + WPDev integration @ Codetock
 
Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013
 
Advanced web application architecture - Talk
Advanced web application architecture - TalkAdvanced web application architecture - Talk
Advanced web application architecture - Talk
 
Project presentation
Project presentationProject presentation
Project presentation
 
Hacker Halted 2014 - Post-Exploitation After Having Remote Access
Hacker Halted 2014 - Post-Exploitation After Having Remote AccessHacker Halted 2014 - Post-Exploitation After Having Remote Access
Hacker Halted 2014 - Post-Exploitation After Having Remote Access
 
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
Using Eclipse and Lua for the Internet of Things - EclipseDay Googleplex 2012
 
ServerSentEventsV2.pdf
ServerSentEventsV2.pdfServerSentEventsV2.pdf
ServerSentEventsV2.pdf
 
Websocket 101 in Python
Websocket 101 in PythonWebsocket 101 in Python
Websocket 101 in Python
 
Oracle soa cloud project
Oracle soa cloud projectOracle soa cloud project
Oracle soa cloud project
 
Project report
Project reportProject report
Project report
 

Último

APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirtrahman018755
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...SUHANI PANDEY
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...nirzagarg
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...SUHANI PANDEY
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋nirzagarg
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...tanu pandey
 
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...SUHANI PANDEY
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdfMatthew Sinclair
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...SUHANI PANDEY
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrHenryBriggs2
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"growthgrids
 

Último (20)

APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 

Human Firewall - IoT presentation

  • 1. Human Firewall Andrea Fioraldi - Mattia Nicolella - Leonardo Sarra Neighbors united against scammers!
  • 2. Human Firewall in brief: a smart intercom - Always connected to the internet - Take photo and profile the person that rings the bell - Trigger a notification to the house/business owner and provide an evaluation of the subject (based on peer review) - It doesn't replace the existing intercom, it is an addon
  • 4. A Cloud-Free System ● All the system COMPLETELY lives in the boards with the exception of the part in the Telegram servers that is not managed by us ● All the computation is local ● Made for a condominium (need all the devices in the same LAN) but can be easily scaled using the same code but a different deploy setup using a VPN
  • 5. A Distributed Cluster ● Deploy the system in a NATted WiFi LAN (no open ports to the internet are needed) ● One Master, many slaves ● A Slave failure is completely tolerated ● Master failure needs a manual reboot but not data loss ● So people can deactivate they intercom (e.g. I’m in holiday at the Bahamas and I don’t want Telegram messages with the face of the postman) and reactivate it later without losing the data collected from the others
  • 6. Easy to Deploy ● Just clone the master-scripts and/or slave-scripts repository ● Run install.py ● All dependencies will be installed and the service will be installed in systemd ● You need only to specify your private Telegram API key ● Abstraction in the code allow to deploy a demo version on a laptop
  • 7. Universal Interface The face of the person at the doorbell is sent to you via Telegram You can have it on your SmartPhone, PC or Tablet You can manage multiple doorbells and multiple Telegram accounts can handle the same doorbell (for families) Place your screenshot here
  • 8. Private Cooperative Feedbacks ● Faces features vector are collected and stored only in the private deployed system and not in the cloud ● Images are used to compute the vector and then deleted ● The “vendor” cannot get images or even computed vectors from customers (so this can’t be a Google product :) )
  • 10. Feedbacks DB Bot Users DB Features Vectors Subscriber Telegram client Camera ServerQuery & Send Find Master Local Slave Slave Master Vectori ze MQTT Broker Publisher
  • 11. Feedbacks DB Bot Users DB Features Vectors Subscriber Telegram client Camera ServerQuery & Send Find Master Local Slave Slave Master Vectori ze MQTT Broker Publisher Vector, rate, board ID Vector, rate, chat ID, time
  • 12. Feedbacks DB Bot Users DB Features Vectors Subscriber Telegram client Camera ServerQuery & Send Local Slave Slave Master Vectori ze MQTT Broker Publisher Find Master Last timestamp
  • 14. Face Recognition Library An interface to the dlib's state-of-the-art face recognition library that provides several face locations algorithms and pre-trained vectorization models. We use the HOG model (O(#pixels)) to locate faces instead that the default CNN model of dlib, a less accurate model but also less CPU intensive [1]. To compute encodings, the pretrained model is based on ResNet, a Deep CNN [2]. We use a threshold of 0.6 in the euclidean product to detect if two encodings are referred to the same person, a bit high to scale but it is ok for a condominium. [1] https://towardsdatascience.com/cnn-based-face-detector-from-dlib-c3696195e01c [2] http://blog.dlib.net/2017/02/high-quality-face-recognition-with-deep.html
  • 15. Mosquitto MQTT and Paho We choose Eclipse Mosquitto as our broker, an open source implementation of an MQTT broker. Mosquitto is lightweight and is suitable for use on devices with a low CPU clock. We choose to not have a persistent storage of messages to not waste disk space. The MQTT client we opted for is the Eclipse Paho project, which provides open-source client implementations of MQTT and MQTT-SN messaging protocols for multiple programming languages (Python included).
  • 16. Flask Flask is a microframework for Python based on Werkzeug and Jinja 2. We use it to host the master board web server since it is an extensible framework which can be easily tailored for several purposes. For the basic need of the project we only choose the Flask core module and some basic extensions which make our web server lightweight and fast.
  • 17. python-telegram-bot To interact with Telegram’s APIs (over HTTP) in the bot subsystem we opted for a community made wrapper named python-telegram-bot. The wrapper implements a wide range of functionalities from sending messages to conversation handling, while, preventing synchronization issues from appearing. It has a small memory-footprint and low CPU utilization because it uses webhooks to prevent polling Telegram’s servers.
  • 18. Raspberry Pi and Pi Camera We used a Raspberry Pi 3 to host host all the above services and we make full use of its computational power when we use the face recognition library in the slave module and when we host the Flask server and the Telegram bot. To take the photos we chose the Pi Camera module which is able to take full HD photos.
  • 19. User feedback “This may be useful for my grandma because it could prevent her from opening the door at people that wants to take advantage of her.” Luca, 22 “With that I could know who rings at the doorbell when I’m not at home.” “The telegram notification may be useful when I’m using the earphones and I can’t hear the doorbell.” Eleonora, 25 Matteo, 23
  • 20. Detailed article: https://bit.ly/2J0VAXt GitHub organization: https://github.com/humanfirewall-iot19 Andrea contacts: ● GitHub: https://github.com/andreafioraldi ● LinkedIn: https://www.linkedin.com/in/andrea-fioraldi/ Leonardo contacts: ● GitHub: https://github.com/LithiumSR/ ● LinkedIn: https://www.linkedin.com/in/leonardo-sarra-b34691182/ Mattia contacts: ● GitHub: https://github.com/Nick1296 LinkedIn: https://www.linkedin.com/in/mattianicolella/ Info & Contacts
  • 21. Thanks for the attention!