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

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Recently uploaded (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

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