Why Teams call analytics are critical to your entire business
Edge computing in practice using IoT, Tensorflow and Google Cloud
1. EDGE COMPUTING IN PRACTICE
USING IOT, TENSORFLOW AND GOOGLE CLOUD
Alvaro Viebrantz
Google Developer Expert for IoT and Product Engineer at Leverege
aviebrantz.com
@alvaroviebrantz
2. What will we cover ?
What is Edge
Computing ?
Overview of
a practical
scenario.
Show how to
build it!
15. 15
Camera as sensors
Our Edge Computing project
• Use cheap Wifi Cameras
• Local server receiving and processing images
• Object detection using Machine Learning
• Send processed data to the cloud
• Provide a local and remote web interface to show the data
21. 21
Camera Discovery with mDNS
Local Discovery Protocol
• Find local cameras automatically on the local network
{INSTANCE_NAME}.local/jpg
• Service _camera and protocol _tcp
22. 22
Finding local cameras
Testing it by searching locally using dns-sd cli
• http://indoor-camera-ec5d.local/jpg
• http://indoor-camera-60d8.local/jpg
38. !38
My Computer Raspberry Pi 3
TensorFlow.js
Core
8 seconds
per frame
45 seconds
per frame
TensorFlow.js
Node
200 milliseconds
per frame
1 second
per frame
Performance
Use tfjs-node and tfjs-node-gpu if possible
65. Best of both worlds
Use the pre-trained object detection model first them use the my custom classifier
Detect
Objects using
CocoSSD
Filter for
cats
and crop
boxes
Classify
using custom
model.
77. Wrapping up
!77
Use device power
on the edge
Extract more info
using Machine
Learning
Scalability, Flexibility
and Ease of Usage
Using both local and cloud computing