SlideShare a Scribd company logo
1 of 17
MOBIUS: Smart Mobility Tracking
with Smartphone Sensors
1Open University of The Netherlands 2Maastricht University
3rd December 2020
Daniele DI MITRI1 Khaleel ASYRAAF1
Kevin TREBING2 Stefano BROMURI1
daniele.dimitri@dipf.de - @dimstudio
The authors
Daniele DI MITRI
dimitri@dipf.de
Khaleel ASYRAAF
khaleel.asyraaf@ou.nl
Stefano BROMURI
stefano.bromuri@ou.nl
Kevin TREBING
kevin.trebing@
student.maastrichtuniversity.nl
Center for Actionable
Research of the Open University
MOBIUS: Mobility Tracking w. Smartphone Sensors 2
Outline presentation
• The authors
• Background
• Related Work
• Functional requirements
• System Architecture
1. Data Collection
2. Data Storing
• Collected dataset
3. Data annotation
4. Data Analysis
• Results
• Discussion
• Conclusions
MOBIUS: Mobility Tracking w. Smartphone Sensors 3
Background
• MOBIlity for Urban Sustainability (Mobius) is a project part of the
SafeCity programme of the Open University of The Netherlands
• The municipality of Heerlen monitors citizens journeys
throughout the city using paper based questionnaires
• MOBIUS idea:
• replace questionnaire with a mobile application (android)
• classify the transportation mode using Neural Networks (NN)
• collected labels asking user to self-report using the mobile
apps when the journey happens
MOBIUS: Mobility Tracking w. Smartphone Sensors 4
Related Work
• cell phone signal coverage and classified "stationary", "walking",
and "driving”
• 80%-85% accuracy (Anderson, 2006; Sohn, 2006)
• proximity to bus-stops and rail-lines as well as GPS data
• accuracy of 93% (Stenneth, 2011)
• Only accelerometer of the cell phone (Hemminki, 2013; Liang, 2019)
classify "stationary", "walk", "bus", "train", "metro", and "tram"
• achieve 80% and 95% accuracy, respectively.
• Using a Bi-LSTM (Zhao, 2019) with a MLP using acclerometer and
gyroscope readings on the classes "stationary", "walk", "run",
"bike", "bus", and "subway”
• achieve 92% accuracy
MOBIUS: Mobility Tracking w. Smartphone Sensors 5
Our classifier
uses a similar
CNN architecture
as (Liang, 2019).
Functional requirements
(FR1) Data collection
• Long periods data collection of accelerometer,
gyroscope, and GPS sensor data.
• Data collection should be a feature in the
background
• Accelerometer and gyroscope data sampled at
60Hz (60 updates per seconds)
• GPS coordinates sampled every 10 seconds
• Data gathering should not drain the battery
(FR2) Data storing
• Sessions to be stored into compressed format
(FR3) Data annotation
• Self-report the mode of transportation
• Activate a toggle for each mode of transportation
• The user-annotations should be editable
(FR4) Data analysis
• suitable representation for machine learning
(FR5) Privacy
• User should be able to deactivate the GPS
coordinate tracking
• Classification should rely on Acceleroemter and
Gyroscope
MOBIUS: Mobility Tracking w. Smartphone Sensors 6
MOBIUS: Mobility Tracking w. Smartphone Sensors 7
System
Architecture
(1) Data Collection: MOBIUS client
Android mobile application with 2 flows of data collection:
• Sensor data
• Accelerometer gyroscope - 60Hz (60 updates per second)
• Global Positioning System (GPS) - every 10s. Can be
deactivated
• User starts/stop the collection which runs in as deamon
service in the background
• Self-reported annotations:
• “Walking”, “Running”, “Biking”, “Train/bus”, “Car”.
• User toggles the annotations at start and ends of their
journeys
• At the end of the day, the user uploads the compressed
data in the server
MOBIUS: Mobility Tracking w. Smartphone Sensors 8
Source code: https://github.com/khaleelasyraaf/Mobius_Client
(2) Data Storing: Mobius Server
MOBIUS: Mobility Tracking w. Smartphone Sensors 9
• Each session is stored in a zip folder
• When the user hits the ‘Upload’ button, the zip
folder is transfered from the Cliebt to the Mobius
Server
• The Mobius server is a RESTful web service
implemented with Python Flask
• Each session folder is composed by three CSV files
contaning the data from: (1) acc & gyroscope, (2)
GPS, (3) annotations
• The files are later transformed into MLT-JSON
format to be compatible with the annoation tool
(next slide)
MLT-JSON data format
CSV data format
Source code: https://github.com/HansBambel/Mobius_server
(3) Data Annotation: Visual Inspection Tool
MOBIUS: Mobility Tracking w. Smartphone Sensors 10
Source code: https://github.com/dimstudio/visual-inspection-tool
Collected dataset & pre-processing
MOBIUS: Mobility Tracking w. Smartphone Sensors 11
• The research team (4 users) collected ~47 hours recordings
• The dataset was pre-processed and used as input for training
the Neural Networks
• We only consider Acc. and Gyr. (x,y,z)
• A sliding window approach was used (size 512 = 8.7s)
• It resulted into 168476 samples
• We removed gravity from the Accelerometer
• Applied smoothing at each sensor stream
• We also tried using only the Acc. magnitude
(4) Data Analysis: SharpFlow
Compared approaches:
1. Convolutional Neural Network
(CNN)
2. Bi-directional Long Short Term
Memory (Bi-LSTM)
3. Dummy classifiers
1. Most frequent class
2. Dependent on class
distribution
MOBIUS: Mobility Tracking w. Smartphone Sensors 12
Source code: https://github.com/dimstudio/SharpFlow
Grafic Representation of the CNN
Results
MOBIUS: Mobility Tracking w. Smartphone Sensors 13
Discussion
• Gyroscope sensor seems to have a minor performance
impact, thus excluding it will extend battery's life and
storage space
• Bi-LSTM did not achieve over 90% as in the literature,
due to smaller time window (2.56s) with a sampling rate
of 50Hz unlike our longer time (8.7s)
window was sampled at 60Hz
• The CNN outperforming the LSTM approach due to cyclic
motions are easy to spot by the spatially invariant
kernels of the convolutions
MOBIUS: Mobility Tracking w. Smartphone Sensors 14
Conclusions
• We introduced Mobius, a system for Smart Mobility Tracking
with Smartphone Sensors
• Mobius can automatically classify transportation mode using
only Accelerometer and Gyroscope data
• We tested Mobius using 47 hours of recorded data
• We achieved an overall 89% using a CNN
• Scalable client-server architecture which can accommodate
data from multiple clients
• User in the loop can self-report mode of transport
• We released all our code Open Source on GitHub
• We are aware that tracking apps pose privacy concerns due
to possible surveillance
MOBIUS: Mobility Tracking w. Smartphone Sensors 15
Future applications
• We plan to develop an Android Wear (smartwatch) version of the
Mobius client app
• Add more modalities such as the heart-rate
• The approach proposed by Mobius can be used for Human Activity
Recognition:
• Daily Life Activities
• Sports performance monitoring
• Physical rehabilitation Tasks
• The trained models can be embedded in the android app to avoid
uploading in the server
MOBIUS: Mobility Tracking w. Smartphone Sensors 16
Thank you!
Any question?
Code:
github.com/dimstudio
Connect:
dimitri@dipf.de
@dimstudio

More Related Content

Similar to MOBIUS: Smart Mobility Tracking with Smartphone Sensors

Android application- Location Detection For Human Mobility
Android application- Location Detection For Human Mobility Android application- Location Detection For Human Mobility
Android application- Location Detection For Human Mobility Atul Chounde
 
Efficient Scheduling for Dynamic Streaming of 3D Scene for Mobile Devices
Efficient Scheduling for Dynamic Streaming of 3D Scene for Mobile DevicesEfficient Scheduling for Dynamic Streaming of 3D Scene for Mobile Devices
Efficient Scheduling for Dynamic Streaming of 3D Scene for Mobile DevicesBudianto Tandianus
 
inLab FIB Presentation at ICT2013EU
inLab FIB Presentation at ICT2013EUinLab FIB Presentation at ICT2013EU
inLab FIB Presentation at ICT2013EUinLabFIB
 
Webinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slidesetWebinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slidesetsymbiote-h2020
 
Template 03 - project proposal & plan
Template 03 - project proposal & planTemplate 03 - project proposal & plan
Template 03 - project proposal & planazizjaan
 
Tizen apps with Context Awareness and Machine Learning
Tizen apps with Context Awareness and Machine LearningTizen apps with Context Awareness and Machine Learning
Tizen apps with Context Awareness and Machine LearningShashwat Pradhan
 
Firetide Mesh Node Mobility Overview
Firetide Mesh Node Mobility OverviewFiretide Mesh Node Mobility Overview
Firetide Mesh Node Mobility OverviewPaul Richards
 
A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
A Web of Things Based Eco-System for Urban Computing - Towards Smarter CitiesA Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
A Web of Things Based Eco-System for Urban Computing - Towards Smarter CitiesAndreas Kamilaris
 
Web services have made the development of mobile Web applications much easier...
Web services have made the development of mobile Web applications much easier...Web services have made the development of mobile Web applications much easier...
Web services have made the development of mobile Web applications much easier...Respa Peter
 
GI2016 ppt charvat senslog api as tools for collection of big vgi data
GI2016 ppt charvat senslog api as tools for collection of big vgi dataGI2016 ppt charvat senslog api as tools for collection of big vgi data
GI2016 ppt charvat senslog api as tools for collection of big vgi dataIGN Vorstand
 
User-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart DrivingUser-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart Drivingamg93
 
Iot based urban gardening project foe college
Iot based urban gardening  project foe collegeIot based urban gardening  project foe college
Iot based urban gardening project foe college201roopikha
 
Aalto University Mobile Management in SDN
Aalto University Mobile Management in SDNAalto University Mobile Management in SDN
Aalto University Mobile Management in SDNHector Fuentes
 

Similar to MOBIUS: Smart Mobility Tracking with Smartphone Sensors (20)

Android application- Location Detection For Human Mobility
Android application- Location Detection For Human Mobility Android application- Location Detection For Human Mobility
Android application- Location Detection For Human Mobility
 
Multimedia Mining
Multimedia Mining Multimedia Mining
Multimedia Mining
 
Efficient Scheduling for Dynamic Streaming of 3D Scene for Mobile Devices
Efficient Scheduling for Dynamic Streaming of 3D Scene for Mobile DevicesEfficient Scheduling for Dynamic Streaming of 3D Scene for Mobile Devices
Efficient Scheduling for Dynamic Streaming of 3D Scene for Mobile Devices
 
Contextual apps for Tizen
Contextual apps for TizenContextual apps for Tizen
Contextual apps for Tizen
 
inLab FIB Presentation at ICT2013EU
inLab FIB Presentation at ICT2013EUinLab FIB Presentation at ICT2013EU
inLab FIB Presentation at ICT2013EU
 
Webinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slidesetWebinar on 2nd Open Call - Applications and Trials - slideset
Webinar on 2nd Open Call - Applications and Trials - slideset
 
Template 03 - project proposal & plan
Template 03 - project proposal & planTemplate 03 - project proposal & plan
Template 03 - project proposal & plan
 
Tizen apps with Context Awareness and Machine Learning
Tizen apps with Context Awareness and Machine LearningTizen apps with Context Awareness and Machine Learning
Tizen apps with Context Awareness and Machine Learning
 
On hyper-local web pages
On hyper-local web pagesOn hyper-local web pages
On hyper-local web pages
 
Firetide Mesh Node Mobility Overview
Firetide Mesh Node Mobility OverviewFiretide Mesh Node Mobility Overview
Firetide Mesh Node Mobility Overview
 
Smart Emission Data Platform
Smart Emission Data PlatformSmart Emission Data Platform
Smart Emission Data Platform
 
A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
A Web of Things Based Eco-System for Urban Computing - Towards Smarter CitiesA Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
 
Web services have made the development of mobile Web applications much easier...
Web services have made the development of mobile Web applications much easier...Web services have made the development of mobile Web applications much easier...
Web services have made the development of mobile Web applications much easier...
 
GI2016 ppt charvat senslog api as tools for collection of big vgi data
GI2016 ppt charvat senslog api as tools for collection of big vgi dataGI2016 ppt charvat senslog api as tools for collection of big vgi data
GI2016 ppt charvat senslog api as tools for collection of big vgi data
 
SMARTIE
SMARTIESMARTIE
SMARTIE
 
User-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart DrivingUser-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart Driving
 
Iot based urban gardening project foe college
Iot based urban gardening  project foe collegeIot based urban gardening  project foe college
Iot based urban gardening project foe college
 
EPOS GNSS Data and Products TCS - What we do...
EPOS GNSS Data and Products TCS - What we do...EPOS GNSS Data and Products TCS - What we do...
EPOS GNSS Data and Products TCS - What we do...
 
slide-171212080528.pptx
slide-171212080528.pptxslide-171212080528.pptx
slide-171212080528.pptx
 
Aalto University Mobile Management in SDN
Aalto University Mobile Management in SDNAalto University Mobile Management in SDN
Aalto University Mobile Management in SDN
 

More from Daniele Di Mitri

SenseTheClassroom Live at EC-TEL 2022
SenseTheClassroom Live at EC-TEL 2022SenseTheClassroom Live at EC-TEL 2022
SenseTheClassroom Live at EC-TEL 2022Daniele Di Mitri
 
Guest Lecture: Restoring Context in Distance Learning with Artificial Intelli...
Guest Lecture: Restoring Context in Distance Learning with Artificial Intelli...Guest Lecture: Restoring Context in Distance Learning with Artificial Intelli...
Guest Lecture: Restoring Context in Distance Learning with Artificial Intelli...Daniele Di Mitri
 
SITE Interactive kenyote 2021
SITE Interactive kenyote 2021SITE Interactive kenyote 2021
SITE Interactive kenyote 2021Daniele Di Mitri
 
The Multimodal Tutor - Presentation PhD defence
The Multimodal Tutor - Presentation PhD defenceThe Multimodal Tutor - Presentation PhD defence
The Multimodal Tutor - Presentation PhD defenceDaniele Di Mitri
 
Real-time Multimodal Feedback with the CPR Tutor
Real-time Multimodal Feedback with the CPR TutorReal-time Multimodal Feedback with the CPR Tutor
Real-time Multimodal Feedback with the CPR TutorDaniele Di Mitri
 
Multimodal Tutor for CPR presented at AIME'19
Multimodal Tutor for CPR presented at AIME'19Multimodal Tutor for CPR presented at AIME'19
Multimodal Tutor for CPR presented at AIME'19Daniele Di Mitri
 
The Multimodal Learning Analytics Pipeline
The Multimodal Learning Analytics PipelineThe Multimodal Learning Analytics Pipeline
The Multimodal Learning Analytics PipelineDaniele Di Mitri
 
Workshop: Multimodal Tutor
Workshop: Multimodal TutorWorkshop: Multimodal Tutor
Workshop: Multimodal TutorDaniele Di Mitri
 
Read Between The Lines: an Annotation Tool for Multimodal Data
Read Between The Lines: an Annotation Tool for Multimodal DataRead Between The Lines: an Annotation Tool for Multimodal Data
Read Between The Lines: an Annotation Tool for Multimodal DataDaniele Di Mitri
 
The Multimodal Tutor - short pitch presentation at JTELSS 2018 in Durrës, Alb...
The Multimodal Tutor - short pitch presentation at JTELSS 2018 in Durrës, Alb...The Multimodal Tutor - short pitch presentation at JTELSS 2018 in Durrës, Alb...
The Multimodal Tutor - short pitch presentation at JTELSS 2018 in Durrës, Alb...Daniele Di Mitri
 
Sensors for Learning workshop
Sensors for Learning workshopSensors for Learning workshop
Sensors for Learning workshopDaniele Di Mitri
 
Multimodal Machines #JTELSS17 workshop
Multimodal Machines #JTELSS17 workshopMultimodal Machines #JTELSS17 workshop
Multimodal Machines #JTELSS17 workshopDaniele Di Mitri
 
Multimodal Tutor - Adaptive feedback from multimodal experience capturing
Multimodal Tutor - Adaptive feedback from multimodal experience capturingMultimodal Tutor - Adaptive feedback from multimodal experience capturing
Multimodal Tutor - Adaptive feedback from multimodal experience capturingDaniele Di Mitri
 
Digital Learning Projection - poster for #LAK17
Digital Learning Projection - poster for #LAK17Digital Learning Projection - poster for #LAK17
Digital Learning Projection - poster for #LAK17Daniele Di Mitri
 
Learning Pulse - paper presentation at LAK17
Learning Pulse - paper presentation at LAK17Learning Pulse - paper presentation at LAK17
Learning Pulse - paper presentation at LAK17Daniele Di Mitri
 
Digital Learning Projection - Learning state estimation from multimodal learn...
Digital Learning Projection - Learning state estimation from multimodal learn...Digital Learning Projection - Learning state estimation from multimodal learn...
Digital Learning Projection - Learning state estimation from multimodal learn...Daniele Di Mitri
 
Academic writing in LaTeX
Academic writing in LaTeX Academic writing in LaTeX
Academic writing in LaTeX Daniele Di Mitri
 
Visual Learning Pulse - Final Thesis presentation
Visual Learning Pulse - Final Thesis presentationVisual Learning Pulse - Final Thesis presentation
Visual Learning Pulse - Final Thesis presentationDaniele Di Mitri
 
Research project MAI2 - Final Presentation Group 4
Research project MAI2  - Final Presentation Group 4Research project MAI2  - Final Presentation Group 4
Research project MAI2 - Final Presentation Group 4Daniele Di Mitri
 

More from Daniele Di Mitri (20)

SenseTheClassroom Live at EC-TEL 2022
SenseTheClassroom Live at EC-TEL 2022SenseTheClassroom Live at EC-TEL 2022
SenseTheClassroom Live at EC-TEL 2022
 
Guest Lecture: Restoring Context in Distance Learning with Artificial Intelli...
Guest Lecture: Restoring Context in Distance Learning with Artificial Intelli...Guest Lecture: Restoring Context in Distance Learning with Artificial Intelli...
Guest Lecture: Restoring Context in Distance Learning with Artificial Intelli...
 
SITE Interactive kenyote 2021
SITE Interactive kenyote 2021SITE Interactive kenyote 2021
SITE Interactive kenyote 2021
 
The Multimodal Tutor - Presentation PhD defence
The Multimodal Tutor - Presentation PhD defenceThe Multimodal Tutor - Presentation PhD defence
The Multimodal Tutor - Presentation PhD defence
 
Real-time Multimodal Feedback with the CPR Tutor
Real-time Multimodal Feedback with the CPR TutorReal-time Multimodal Feedback with the CPR Tutor
Real-time Multimodal Feedback with the CPR Tutor
 
Multimodal Tutor for CPR presented at AIME'19
Multimodal Tutor for CPR presented at AIME'19Multimodal Tutor for CPR presented at AIME'19
Multimodal Tutor for CPR presented at AIME'19
 
The Multimodal Learning Analytics Pipeline
The Multimodal Learning Analytics PipelineThe Multimodal Learning Analytics Pipeline
The Multimodal Learning Analytics Pipeline
 
Workshop: Multimodal Tutor
Workshop: Multimodal TutorWorkshop: Multimodal Tutor
Workshop: Multimodal Tutor
 
Read Between The Lines: an Annotation Tool for Multimodal Data
Read Between The Lines: an Annotation Tool for Multimodal DataRead Between The Lines: an Annotation Tool for Multimodal Data
Read Between The Lines: an Annotation Tool for Multimodal Data
 
The Multimodal Tutor - short pitch presentation at JTELSS 2018 in Durrës, Alb...
The Multimodal Tutor - short pitch presentation at JTELSS 2018 in Durrës, Alb...The Multimodal Tutor - short pitch presentation at JTELSS 2018 in Durrës, Alb...
The Multimodal Tutor - short pitch presentation at JTELSS 2018 in Durrës, Alb...
 
Sensors for Learning workshop
Sensors for Learning workshopSensors for Learning workshop
Sensors for Learning workshop
 
Multimodal Machines #JTELSS17 workshop
Multimodal Machines #JTELSS17 workshopMultimodal Machines #JTELSS17 workshop
Multimodal Machines #JTELSS17 workshop
 
Multimodal Tutor - Adaptive feedback from multimodal experience capturing
Multimodal Tutor - Adaptive feedback from multimodal experience capturingMultimodal Tutor - Adaptive feedback from multimodal experience capturing
Multimodal Tutor - Adaptive feedback from multimodal experience capturing
 
Visual Learning Pulse
Visual Learning PulseVisual Learning Pulse
Visual Learning Pulse
 
Digital Learning Projection - poster for #LAK17
Digital Learning Projection - poster for #LAK17Digital Learning Projection - poster for #LAK17
Digital Learning Projection - poster for #LAK17
 
Learning Pulse - paper presentation at LAK17
Learning Pulse - paper presentation at LAK17Learning Pulse - paper presentation at LAK17
Learning Pulse - paper presentation at LAK17
 
Digital Learning Projection - Learning state estimation from multimodal learn...
Digital Learning Projection - Learning state estimation from multimodal learn...Digital Learning Projection - Learning state estimation from multimodal learn...
Digital Learning Projection - Learning state estimation from multimodal learn...
 
Academic writing in LaTeX
Academic writing in LaTeX Academic writing in LaTeX
Academic writing in LaTeX
 
Visual Learning Pulse - Final Thesis presentation
Visual Learning Pulse - Final Thesis presentationVisual Learning Pulse - Final Thesis presentation
Visual Learning Pulse - Final Thesis presentation
 
Research project MAI2 - Final Presentation Group 4
Research project MAI2  - Final Presentation Group 4Research project MAI2  - Final Presentation Group 4
Research project MAI2 - Final Presentation Group 4
 

Recently uploaded

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 

Recently uploaded (20)

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 

MOBIUS: Smart Mobility Tracking with Smartphone Sensors

  • 1. MOBIUS: Smart Mobility Tracking with Smartphone Sensors 1Open University of The Netherlands 2Maastricht University 3rd December 2020 Daniele DI MITRI1 Khaleel ASYRAAF1 Kevin TREBING2 Stefano BROMURI1 daniele.dimitri@dipf.de - @dimstudio
  • 2. The authors Daniele DI MITRI dimitri@dipf.de Khaleel ASYRAAF khaleel.asyraaf@ou.nl Stefano BROMURI stefano.bromuri@ou.nl Kevin TREBING kevin.trebing@ student.maastrichtuniversity.nl Center for Actionable Research of the Open University MOBIUS: Mobility Tracking w. Smartphone Sensors 2
  • 3. Outline presentation • The authors • Background • Related Work • Functional requirements • System Architecture 1. Data Collection 2. Data Storing • Collected dataset 3. Data annotation 4. Data Analysis • Results • Discussion • Conclusions MOBIUS: Mobility Tracking w. Smartphone Sensors 3
  • 4. Background • MOBIlity for Urban Sustainability (Mobius) is a project part of the SafeCity programme of the Open University of The Netherlands • The municipality of Heerlen monitors citizens journeys throughout the city using paper based questionnaires • MOBIUS idea: • replace questionnaire with a mobile application (android) • classify the transportation mode using Neural Networks (NN) • collected labels asking user to self-report using the mobile apps when the journey happens MOBIUS: Mobility Tracking w. Smartphone Sensors 4
  • 5. Related Work • cell phone signal coverage and classified "stationary", "walking", and "driving” • 80%-85% accuracy (Anderson, 2006; Sohn, 2006) • proximity to bus-stops and rail-lines as well as GPS data • accuracy of 93% (Stenneth, 2011) • Only accelerometer of the cell phone (Hemminki, 2013; Liang, 2019) classify "stationary", "walk", "bus", "train", "metro", and "tram" • achieve 80% and 95% accuracy, respectively. • Using a Bi-LSTM (Zhao, 2019) with a MLP using acclerometer and gyroscope readings on the classes "stationary", "walk", "run", "bike", "bus", and "subway” • achieve 92% accuracy MOBIUS: Mobility Tracking w. Smartphone Sensors 5 Our classifier uses a similar CNN architecture as (Liang, 2019).
  • 6. Functional requirements (FR1) Data collection • Long periods data collection of accelerometer, gyroscope, and GPS sensor data. • Data collection should be a feature in the background • Accelerometer and gyroscope data sampled at 60Hz (60 updates per seconds) • GPS coordinates sampled every 10 seconds • Data gathering should not drain the battery (FR2) Data storing • Sessions to be stored into compressed format (FR3) Data annotation • Self-report the mode of transportation • Activate a toggle for each mode of transportation • The user-annotations should be editable (FR4) Data analysis • suitable representation for machine learning (FR5) Privacy • User should be able to deactivate the GPS coordinate tracking • Classification should rely on Acceleroemter and Gyroscope MOBIUS: Mobility Tracking w. Smartphone Sensors 6
  • 7. MOBIUS: Mobility Tracking w. Smartphone Sensors 7 System Architecture
  • 8. (1) Data Collection: MOBIUS client Android mobile application with 2 flows of data collection: • Sensor data • Accelerometer gyroscope - 60Hz (60 updates per second) • Global Positioning System (GPS) - every 10s. Can be deactivated • User starts/stop the collection which runs in as deamon service in the background • Self-reported annotations: • “Walking”, “Running”, “Biking”, “Train/bus”, “Car”. • User toggles the annotations at start and ends of their journeys • At the end of the day, the user uploads the compressed data in the server MOBIUS: Mobility Tracking w. Smartphone Sensors 8 Source code: https://github.com/khaleelasyraaf/Mobius_Client
  • 9. (2) Data Storing: Mobius Server MOBIUS: Mobility Tracking w. Smartphone Sensors 9 • Each session is stored in a zip folder • When the user hits the ‘Upload’ button, the zip folder is transfered from the Cliebt to the Mobius Server • The Mobius server is a RESTful web service implemented with Python Flask • Each session folder is composed by three CSV files contaning the data from: (1) acc & gyroscope, (2) GPS, (3) annotations • The files are later transformed into MLT-JSON format to be compatible with the annoation tool (next slide) MLT-JSON data format CSV data format Source code: https://github.com/HansBambel/Mobius_server
  • 10. (3) Data Annotation: Visual Inspection Tool MOBIUS: Mobility Tracking w. Smartphone Sensors 10 Source code: https://github.com/dimstudio/visual-inspection-tool
  • 11. Collected dataset & pre-processing MOBIUS: Mobility Tracking w. Smartphone Sensors 11 • The research team (4 users) collected ~47 hours recordings • The dataset was pre-processed and used as input for training the Neural Networks • We only consider Acc. and Gyr. (x,y,z) • A sliding window approach was used (size 512 = 8.7s) • It resulted into 168476 samples • We removed gravity from the Accelerometer • Applied smoothing at each sensor stream • We also tried using only the Acc. magnitude
  • 12. (4) Data Analysis: SharpFlow Compared approaches: 1. Convolutional Neural Network (CNN) 2. Bi-directional Long Short Term Memory (Bi-LSTM) 3. Dummy classifiers 1. Most frequent class 2. Dependent on class distribution MOBIUS: Mobility Tracking w. Smartphone Sensors 12 Source code: https://github.com/dimstudio/SharpFlow Grafic Representation of the CNN
  • 13. Results MOBIUS: Mobility Tracking w. Smartphone Sensors 13
  • 14. Discussion • Gyroscope sensor seems to have a minor performance impact, thus excluding it will extend battery's life and storage space • Bi-LSTM did not achieve over 90% as in the literature, due to smaller time window (2.56s) with a sampling rate of 50Hz unlike our longer time (8.7s) window was sampled at 60Hz • The CNN outperforming the LSTM approach due to cyclic motions are easy to spot by the spatially invariant kernels of the convolutions MOBIUS: Mobility Tracking w. Smartphone Sensors 14
  • 15. Conclusions • We introduced Mobius, a system for Smart Mobility Tracking with Smartphone Sensors • Mobius can automatically classify transportation mode using only Accelerometer and Gyroscope data • We tested Mobius using 47 hours of recorded data • We achieved an overall 89% using a CNN • Scalable client-server architecture which can accommodate data from multiple clients • User in the loop can self-report mode of transport • We released all our code Open Source on GitHub • We are aware that tracking apps pose privacy concerns due to possible surveillance MOBIUS: Mobility Tracking w. Smartphone Sensors 15
  • 16. Future applications • We plan to develop an Android Wear (smartwatch) version of the Mobius client app • Add more modalities such as the heart-rate • The approach proposed by Mobius can be used for Human Activity Recognition: • Daily Life Activities • Sports performance monitoring • Physical rehabilitation Tasks • The trained models can be embedded in the android app to avoid uploading in the server MOBIUS: Mobility Tracking w. Smartphone Sensors 16