SlideShare a Scribd company logo
UsingAI and edge computing
devices for traffic flow monitoring
Dr J. Barthélemy, Dr N. Verstaevel, Dr H. Forehead, Senior Prof. P. Perez,
Bilal Arshad, Dinh (Andrew) Che
Edge Computing with Jetson TX2
for Monitoring Flows of Pedestrian
and Vehicles
At SMART, we believe that People with good
information and good tools will make good
Decisions and change their world
2
The case of Liverpool
CBD is growing fast: new UoW campus, airport development,…
 What does it mean for the city and its community? What are the problems?
 Smart Cities and Suburbs Program: How can we use IoT to solve the problems?
3
Which problems?
Let’s ask the people! Pedestrians
- Where are they going?
- What are the most popular routes?
- What are the most congested locations?
- Impact of city activity?
Cyclists
- Which route are they taking?
- How can we improve bike usage?
Cars
- Live traffic?
4
Sensors locations
20 sensors
Image credit: OpenStreetMap
5
How about using CCTV?
6
Privacy!
Sensor requirements
• Mobile units + leveraging CCTV infrastructure
• Privacy is important!
– On board video analytics
– Only indicators transmitted (no raw data!)
• Real-time image processing
• LoRaWAN network
7
LoRaWAN: An IoT Network
Image credit: https://ttnmapper.org
• Long range
• Low power
• Low bandwidth (max 200 bytes/message)
• Open source
• Free for use by the community
8
History of the prototypes
9
The sensor
An edge computing device
Components
— NVIDIA Jetson TX2 for onboard processing
— Pycom LoPy 4 for data transmission on The Things Network
— Camera (USB webcam / existing CCTV)
10
The sensor
Actual state…
11
From the input to the dashboard
Image Acquisition
• CCTV/Webcam
Detection
• Deep Convolutional Neural Network
Tracking
• Kalman Filtering
Data transmission
• LoRaWAN/OneM2M
Dashboard/Database
Image credit: NVIDIA Corporation
Image credit: Pycom
12
Detection:YOLO v3
Inference: Jetson TX2Training: Titan Xp
• Fully convolutional DNN
• 106 hidden layers
• Detections at 3 scales
• 3 classes: person, bicycle, vehicles
• Pascal VOC and COCO datasets
cuDNN
FP16+ +
13
Detection:YOLO v3
Current training dataset
• 80.000 images from Pascal VOC, COCO
• 6 data augmentation techniques
480.000 images
14
Detection:YOLO v3
15
Tracking: Kalman Filtering
16
Prediction of O
in current frame
Position of O in previous frame
Detection D in current frame
𝐼𝑜𝑈 ≔ ≥ 𝛿
𝑥
𝑦
if D = O
Detection:YOLO v3
• Detecting locations of pedestrians and vehicles
• Number of objects of each type
17
VIRAT Video Dataset
Tracking: Kalman Filtering
• Associating IDs with the detections
• Trajectories
18
VIRAT Video Dataset
Final output
No image Privacy OK!
19
Liverpool Smart Pedestrian architecture
Fixed counters
Air quality x20
x5
x15
Mobile counters
Sensors IoT Core ApplicationsTransport
+
Forecasting
Analytics
Public
Dashboard
Liverpool IoT Core
Citizens app
20
● Open source service platform for M2M interoperability
based on the oneM2M standard.
● Follows a RESTful approach GET/POST/DELETE/SUBSCRIBE
● Access control policies
● Plugins
● Can be decentralised with multiple nodes
● Support different technologies:
○ Lora
○ Zigbee
○ Sigfox
○ Bluetooth Low Energy
○ Z-wave
OM2M Eclipse
21
Liverpool IoT Core
MQTT TTN
AE - TheThingsNetwork
App Id …
DATA
IN_Node
METADATA
MN_Node1
MN_...
Subscriptions
HTTP Rest API
Database
Inject
HTTP GET
Publish data Collect data Manage and secure data Store data
POA
22
The Things Network application
AE-TheThingsNetwork
CNT- App Id
CNT - DATA
CIN – DATA_...
CNT - METADATA
CIN – METADATA_...
23
Visual Sensor application
MN- SensorName
CNT- DATA
CIN –...
CIN –...
CNT- DESCRIPTOR
CNT- CONFIGURATION
CIN –...
CNT- SYSTEM
CIN –...
CNT- COMMAND
CIN –...
24
Dashboard
25
Dashboard
Trajectories of the detections (inside a building)
26
Dashboard
Heatmap of the maximum number of the detections (inside a building)
27
Dashboard
28
Next steps: Inferring network dynamics
Image credit: OpenStreetMap Image credit: Google Maps
29
Next steps:Algorithm transferability
Testing in Vietnam
30
Conclusions
It’s only the beginning!
• VS able to perform real time object detection and tracking
• Privacy compliant… but meaningful information
• Open data for people centric approach
– citizen applications
– city and traffic planners
• IoT core scalable and interoperable
– adding new sensors: air quality, noise, …
Traffic
modelling
AnalyticsDashboardCitizens app
31
But it’s already successful!
Best Local Government Initiative
Document title32
Keep InTouch
johan@uow.edu.au
linkedin.com/company/smart-
infrastructure-facility-university-
of-wollongong
@SMART_Facility
smart.uow.edu.au
uowblogs.com/smartinfrastructureSMART Infrastructure Facility
33
Image credit: https://towardsdatascience.com
YOLO v3 architecture
34
35
Image credit: Redmon, J. and Farhadi, A. (2018). YOLOv3: An Incremental Improvement
YOLO v3 performances
GPU and Edge computing
Image credit: NVIDIA Corporation
Dataset
Deep Neural Net
Trained model
deployment
Inference: Jetson
Image credit: NVIDIA Corporation
Training: Titan/DGX/Tesla
Image Acquisition
Detection
Tracking
Data transmission
Dashboard/Database
36
Architecture of the solution
Fixed
counters
Air quality x20
Noise level x20
x5
x15
Mobile
counters
Sensors IoT Core ApplicationsTransport
+
Private and
Public APIs Traffic
modelling
Analytics
Dashboard
Citizens app
37
Dashboard
Heatmap of the maximum number of detections
38
Dashboard
Trajectories of the detections
39

More Related Content

PPTX
Global wireless E-voting
PPTX
Global Wireless e voting
PPTX
global wireless e-voting
PDF
SMART MONITORING OF AUTOMOBILE USING IOT
PPTX
Global wireless e voting powerpoint presentation
DOC
Global wireless e-voting
PPT
Global wireless e-voting
PPTX
Global wireless e voting
Global wireless E-voting
Global Wireless e voting
global wireless e-voting
SMART MONITORING OF AUTOMOBILE USING IOT
Global wireless e voting powerpoint presentation
Global wireless e-voting
Global wireless e-voting
Global wireless e voting

Similar to SMART Seminar Series: "Using AI and edge computing devices for traffic flow monitoring". Presented by Dr Johan Barthelemy (20)

PPTX
COSMOS Data Analytics Architecture
PPTX
Road Monitoring - 2019 - IoT@Sapienza - v3
PPT
Internet of Things and Large-scale Data Analytics
PDF
A Data-driven Approach for Internet of Things Applications: Methods and Case ...
PPT
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
PDF
CLASS: A Real-Time Smart City Framework - talk version
PDF
IoT Story: From Edge to HDP
PPTX
iot module 1 ppt.pptx
PPTX
DEVNET-1145 How APIs are Driving City Digitization
PDF
iot module 1 ppt (3).pdf
PDF
Meetup 4/2/2016 - Functionele en technische architectuur IoT
PPTX
Internet_of_Things.pptx
PPTX
Internet of Things (IoT)
PDF
Iot vupico-damien-contreras-2018-05-17-light-v3
PDF
Internet of Things, Web of Data & Citizen Participation as Enablers of Smart ...
PDF
A management introduction to IoT - Myths - Pitfalls - Challenges
PDF
ASSISTANCE SYSTEM FOR DRIVERS USING IOT
PPTX
Internet of Things
PDF
PDF
Lecture No. One -chapter 1 Introduction.pdf
COSMOS Data Analytics Architecture
Road Monitoring - 2019 - IoT@Sapienza - v3
Internet of Things and Large-scale Data Analytics
A Data-driven Approach for Internet of Things Applications: Methods and Case ...
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
CLASS: A Real-Time Smart City Framework - talk version
IoT Story: From Edge to HDP
iot module 1 ppt.pptx
DEVNET-1145 How APIs are Driving City Digitization
iot module 1 ppt (3).pdf
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Internet_of_Things.pptx
Internet of Things (IoT)
Iot vupico-damien-contreras-2018-05-17-light-v3
Internet of Things, Web of Data & Citizen Participation as Enablers of Smart ...
A management introduction to IoT - Myths - Pitfalls - Challenges
ASSISTANCE SYSTEM FOR DRIVERS USING IOT
Internet of Things
Lecture No. One -chapter 1 Introduction.pdf
Ad

More from SMART Infrastructure Facility (20)

PPTX
SMART Seminar Series: "Cognitive Illusions in Virtual Reality: What do I mean...
PDF
SMART Seminar Series: "Trusted Autonomous Systems as System of Systems". Pres...
PPSX
SMART Seminar Series: "User-centric digital collaboration to build resilient ...
PDF
SMART Seminar Series: "The Evolution of the Metric System: From Precious Lump...
PPTX
SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...
PPTX
SMART Seminar Series: "From an IoT cloud based architecture to Edge for dynam...
PPTX
SMART Seminar Series: "Is bus bunching serious in Sydney? Preliminary finding...
PDF
SMART Seminar Series: "Keep it SMART, keep it simple! – Challenging complexit...
PDF
SMART Seminar Series: "Risk-based bridge assessment under changing load-deman...
PPTX
SMART Seminar Series: "Deep Learning: Fundamentals and Practice". Presented b...
PPTX
SMART Seminar Series: "Infrastructure Resilience: Planning for Future Extreme...
PPTX
SMART Seminar Series: "Potential use of drones for infrastructure inspection ...
PDF
SMART Seminar Series: "A journey in the zoo of Turing patterns: the topology ...
PPTX
SMART Seminar Series: "Human behaviour modelling and simulation for crisis ma...
PPTX
SMART Seminar Series: "Dealing with uncertainty: With the observer in the loo...
PDF
SMART Seminar Series: "Smart Cities: The Good, The Bad & The Ugly"
PDF
SMART Seminar Series: "How to improve the order of evolutionary models in age...
PPTX
SMART Seminar Series: "OneM2M – Towards end-to-end interoperability of the IoT"
PPTX
SMART Seminar Series: "Blue-Green vs. Grey-Black infrastructure – which is be...
PDF
SMART Seminar Series: "Coastal Infrastructure, Urban Mobility and Vulnerabili...
SMART Seminar Series: "Cognitive Illusions in Virtual Reality: What do I mean...
SMART Seminar Series: "Trusted Autonomous Systems as System of Systems". Pres...
SMART Seminar Series: "User-centric digital collaboration to build resilient ...
SMART Seminar Series: "The Evolution of the Metric System: From Precious Lump...
SMART Seminar Series: "Blockchain and its Applications". Presented by Prof Wi...
SMART Seminar Series: "From an IoT cloud based architecture to Edge for dynam...
SMART Seminar Series: "Is bus bunching serious in Sydney? Preliminary finding...
SMART Seminar Series: "Keep it SMART, keep it simple! – Challenging complexit...
SMART Seminar Series: "Risk-based bridge assessment under changing load-deman...
SMART Seminar Series: "Deep Learning: Fundamentals and Practice". Presented b...
SMART Seminar Series: "Infrastructure Resilience: Planning for Future Extreme...
SMART Seminar Series: "Potential use of drones for infrastructure inspection ...
SMART Seminar Series: "A journey in the zoo of Turing patterns: the topology ...
SMART Seminar Series: "Human behaviour modelling and simulation for crisis ma...
SMART Seminar Series: "Dealing with uncertainty: With the observer in the loo...
SMART Seminar Series: "Smart Cities: The Good, The Bad & The Ugly"
SMART Seminar Series: "How to improve the order of evolutionary models in age...
SMART Seminar Series: "OneM2M – Towards end-to-end interoperability of the IoT"
SMART Seminar Series: "Blue-Green vs. Grey-Black infrastructure – which is be...
SMART Seminar Series: "Coastal Infrastructure, Urban Mobility and Vulnerabili...
Ad

Recently uploaded (20)

PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
RMMM.pdf make it easy to upload and study
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Cell Types and Its function , kingdom of life
PPTX
Cell Structure & Organelles in detailed.
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Institutional Correction lecture only . . .
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
master seminar digital applications in india
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Renaissance Architecture: A Journey from Faith to Humanism
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Abdominal Access Techniques with Prof. Dr. R K Mishra
RMMM.pdf make it easy to upload and study
O7-L3 Supply Chain Operations - ICLT Program
Cell Types and Its function , kingdom of life
Cell Structure & Organelles in detailed.
PPH.pptx obstetrics and gynecology in nursing
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Supply Chain Operations Speaking Notes -ICLT Program
2.FourierTransform-ShortQuestionswithAnswers.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Institutional Correction lecture only . . .
VCE English Exam - Section C Student Revision Booklet
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
master seminar digital applications in india

SMART Seminar Series: "Using AI and edge computing devices for traffic flow monitoring". Presented by Dr Johan Barthelemy