A Multimodal Sensing Platform for Cyclist Risk Perception in Urban Scenarios

Similar documents
SMARTcycling: Assessing cyclists driving experience

Look Up! Positioning-based Pedestrian Risk Awareness. Shubham Jain

Use of Throw Distances of Pedestrians and Bicyclists as Part of a Scientific Accident Reconstruction Method 1

Evaluation of shared use of bicycles and pedestrians in Japan

Analysis of Gait Characteristics Changes in Normal Walking and Fast Walking Of the Elderly People

Smart Bike as the 1 persons car of the future

APPENDIX D LEVEL OF TRAFFIC STRESS METHODOLOGY

Gait Recognition. Yu Liu and Abhishek Verma CONTENTS 16.1 DATASETS Datasets Conclusion 342 References 343

EE16B Designing Information Devices and Systems II

Cricket umpire assistance and ball tracking system using a single smartphone camera

Traffic Parameter Methods for Surrogate Safety Comparative Study of Three Non-Intrusive Sensor Technologies

Temporal and Spatial Variation in Non-motorized Traffic in Minneapolis: Some Preliminary Analyses

DOI /HORIZONS.B P23 UDC : (497.11) PEDESTRIAN CROSSING BEHAVIOUR AT UNSIGNALIZED CROSSINGS 1

[Bicycle] Bells and Whistles to Improve Your Audits and Research. Jonny Rotheram. Rail~Volution - October LA 1

CYCLIST BEHAVIOR AT DISCONTINUITIES IN THE CYCLING NETWORK

1. Introduction. 2. Survey Method. Volume 6 Issue 5, May Licensed Under Creative Commons Attribution CC BY

Bayesian Optimized Random Forest for Movement Classification with Smartphones

Safety and accident prevention plan in Burgos

Planning Daily Work Trip under Congested Abuja Keffi Road Corridor

Bike Counter Correlation

THe rip currents are very fast moving narrow channels,

1 INEGI Instituto de Engenharia Mecânica e Gestão Industrial, Porto, Portugal, FEUP Faculdade de Engenharia,

Health + Track Mobile Application using Accelerometer and Gyroscope

Jogging and Walking Analysis Using Wearable Sensors *

Active Travel and Exposure to Air Pollution: Implications for Transportation and Land Use Planning

Complete Street Analysis of a Road Diet: Orange Grove Boulevard, Pasadena, CA

Children s risks on their way to school: the example of Tallinn

Using smartphones for cycle planning Authors: Norman, G. and Kesha, N January 2015

Analysis of the Radar Doppler Signature of a Moving Human

2. what apply crowdmapping tools

ACTIVITY MONITORING SYSTEM

20XX. Bicycle Helmets for Children 2017 tested by Folksam

TRAVEL PLAN: CENTRAL EUROPEAN UNIVERSITY CAMPUS REDEVELOPMENT PROJECT TRAVEL PLAN. Central European University Campus Redevelopment Project.

#19 MONITORING AND PREDICTING PEDESTRIAN BEHAVIOR USING TRAFFIC CAMERAS

On Spectral Analysis of Heart Rate Variability during Very Slow Yogic Breathing

Ranger Walking Initiation Stephanie Schneider 5/15/2012 Final Report for Cornell Ranger Research

CONDUITS DST-Tel Aviv-Yafo Case Study

G u i d e l i n e C Y C L I N G C O S T - E F F E C T I V E M E A S U R E S Version: November 2015

Bicycle climate test. Benchmarking. supported by

Vibration Analysis and Test of Backup Roll in Temper Mill

Action plan to promote local mobility in North Rhine-Westphalia (Germany)

Young Researchers Seminar 2011

VGI for mapping change in bike ridership

RURAL HIGHWAY SHOULDERS THAT ACCOMMODATE BICYCLE AND PEDESTRIAN USE (TxDOT Project ) June 7, Presented by: Karen Dixon, Ph.D., P.E.

DATA MINING SAMPLE RESEARCH: ACTIVITY RECOGNITION CLASSIFICATION IN ACTION

A Conceptual Approach for Using the UCF Driving Simulator as a Test Bed for High Risk Locations

Decision Trees. Nicholas Ruozzi University of Texas at Dallas. Based on the slides of Vibhav Gogate and David Sontag

BICYCLE SPEED ANALYSIS FOR ASSESSMENT OF BICYCLIST PRE-COLLISION SYSTEM

A System Development for Creating Indoor Floor Plan of Walking Route using Video and Movement Data 1 2

Smart-Walk: An Intelligent Physiological Monitoring System for Smart Families

Real Time Bicycle Simulation Study of Bicyclists Behaviors and their Implication on Safety

JPEG-Compatibility Steganalysis Using Block-Histogram of Recompression Artifacts

Planning Guidance in the 2012 AASHTO Bike Guide

Bicycle Safety Map System Based on Smartphone Aided Sensor Network

Detecting and Visualizing Rip Current Using Optical FLow

Gdynia s bicycle model

BICYCLE SHARING PROGRAM DEVELOPMENT. CUTR Webcast Series June 27, 2013

Determining bicycle infrastructure preferences A case study of Dublin

Personal air pollution exposures in NYC bicycle commuters: Evidence from the Biking & Breathing study

MOBILEYE SHIELD + COLLISION AVOIDANCE SYSTEM OUR VISION. YOUR SAFETY.

Chapter 5: Methods and Philosophy of Statistical Process Control

Cynemon - Cycling Network Model for London

FAQ sheet Dutch Cycling Embassy

Bicyclist Lateral Roadway Position versus Motorist Overtaking Distance

The automobile is a complex system in which humans play an important role. Driving is

Introducing a Method for Planning a Safe Bicycle Network

Cycling and the built environment testing bicycle suitability indicators with actual route choices. Ray Pritchard

Evaluation. Monitoring and 8.0

THE TWO BANKS OF THE TAGUS RIVER BY INTEGRATING THE BYCICLE INTO A MULTIMODAL SYSTEM

The World Leader in High Performance Signal Processing Solutions MEMS Webcast

CS 528 Mobile and Ubiquitous Computing Lecture 7a: Applications of Activity Recognition + Machine Learning for Ubiquitous Computing.

Cyclists gaze behavior in urban space: an eye-tracking experiment on bicycle facilities.

Relative Vulnerability Matrix for Evaluating Multimodal Traffic Safety. O. Grembek 1

McGrath Boulevard Project Development Public Meeting #2 May 28 th, 2015 East Somerville Community School

Video Analysis for Cyclist Safety: Case Studies in Montreal, Canada

Cycle journeys on the Anderston-Argyle Street footbridge: a descriptive analysis. Karen McPherson. Glasgow Centre for Population Health

PBIC Webinar. How to Create a Bicycle Safety Action Plan: Planning for Safety [IMAGE] Oct. 2, 2014, 2 pm


TomTom South African Congestion Index

DEVELOPMENT OF A CYCLIST-AEB TESTING SYSTEM. CATS - Sjef van Montfort, TNO

Oakville, Ontario Case Study

WalkCompass: Finding Walking Direction Leveraging Smartphone s Inertial Sensors. Nirupam Roy

Matt Dykstra PSU MGIS Program

Sustainable Transport Solutions for Basseterre, St. Kitts - An OAS funded project (Feb 2013-Feb 2015)

Traffic Impact Study. Westlake Elementary School Westlake, Ohio. TMS Engineers, Inc. June 5, 2017

How can Innovative, People-Centered Data Collection contribute to improved Cycling Planning and Policy?

DEPARTMENT OF ENVIRONMENTAL SERVICES. North Harrison Street (Lee Highway to Little Falls Road) Comparative Analysis. Prepared for:

Design of Monitoring System Step Walking With MPU6050 Sensor Based Android

ANALYSIS OF THE POSITIVE FORCES EXHIBITING ON THE MOORING LINE OF COMPOSITE-TYPE SEA CAGE

REAL. Simple, Intuitive, Powerful Real.

CASE STUDY. Scheme: Bournemouth, Poole and Christchurch. Product: End to End Bike Share

The role of street traffic signs in reducing road accidents

MOBILEYE SHIELD+ COLLISION AVOIDANCE SYSTEM

Accessibility, mobility and social exclusion

Recommendations from Boston City Council Transportation Policy Briefing Series

The European Transport Safety Council s proposals for a safety component in a future EU Cycling Strategy

Pedestrian crossings survey in Europe

Geometric moments for gait description

An experimental study of internal wave generation through evanescent regions

Making Signals Work for Bicyclists and Pedestrians

Transcription:

1 A Multimodal Sensing Platform for Cyclist Risk Perception in Urban Scenarios Pedro Vieira, Manuel Marques and João Costeira. Abstract Cycling is increasing as an urban activity, but the cities are not following this growth at the same rate. More bike lanes and bike infrastructures must be built in order to accommodate this rising culture. We know very little about the stress and the conditions cyclists are put through in their daily journeys. The main focus of this work was to develop an App and a method that could show how the smartphones can be used to study this increasing activity. As these devices are getting more popular and due to the fact that these devices are equipped with several sensors, such as gyroscopes, accelerometer s, GPS receivers and good cameras, they become the perfect candidates for this job. Index Terms Cyclist, optical-flow, traffic, HRV, Smartphone, Stress. C I. INTRODUCTION YCLING is increasing as an urban activity, with more people choosing the bicycle as a mean of transportation. In Europe there are 2 bicycle sold for each car sold. In the year of 2011 just in the E.U. zone, 20 million bicycles were sold [1]. This increase of cyclists has led to a bigger number of bike related accidents [2]. To accommodate this bigger number of cyclist, studies have to been done in order to help making the cities more bike friendly. Most of the studies related to this problem were done based on surveys and empirical calculations where the level of comfort for the urban cyclist was based on known variables such as: speed limit, level of traffic, presence of a bike lane and road width [3]. More recently an MIT project used a bike helmet with an EEG sensor that could map the city streets based on the brain waves [4]. This work aims to show that the smartphones can be used as a tool to study the urban cyclist. Smartphones are at the same time cheap and easy to implement in large scale. So cyclists with a smartphone can evaluate several aspects of the state of the city. This work has three main parts: Data acquisition in real-time Data processing offline Data result analysis Figure 1 Flowchart of the system architecture. II. SENSING PLATFORM The goal of this work is to create a study tool using a smartphone; however in the tests performed during this thesis, an action cam was used instead of the smartphone camera. This was due to the fact that the smartphone bike mount used wasn t rigid enough, resulting in a very sluggish video footage with rolling shutter artifacts, this problem can be overcome using a better bike mount. So to study this problem we used three main components: -Smartphone -Action Cam (to replace Smartphone Camera) -Heart monitoring chest strap A. Smartphone. Smartphones are becoming cheaper and more abundant nowadays. For that reason they were chosen to record the GPS coordinates, as well as the gyroscope and accelerometer values.

2 The smartphone was mounted on the bike handle. 1) Android App Bike Monitor In order to record the values from the smartphone sensors, an Android App was developed named Bike Monitor. This app records the following data: GPS coordinates; Acceleration on the 3 axis (Accelerometer); Rotation on the 3 axis (Gyroscope); Time date, and Video (Camera). Figure 2 Flowchart of the image processing. B. Action Cam. As previously mentioned an action cam was used to capture video footage instead of the smartphone camera. This alternative was used because these type of camera are designed to be used under heavy oscillating environments and have designed mounts for that purpose, resulting in cleaner and nicer videos. The action cam was mounted on the front part of the bicycle frame. C. Heart monitoring chest strap There are several physiological responses to stress. One simple way to detect stress is by calculating the Heart Rate Variability, often referred as HRV. The HRV can be calculated from an ECG signal. To record that signal an heart monitoring chest strap was used. The chest strap was chosen because it s cheap, simple and comfortable to use in contrast to more complex and pricier systems. 1) Optical flow calculation The optical flow gives us information about the movement pattern between two images. In this work this movement patterns were studied in order to classify known events. The optical flow of the captured images was calculated using the Lukas-Kanade algorithm. This method was chosen because it was easy to implement and had fast processing times. Each frame of the captured video had a lot of unnecessary information, for that reason the focus was put on the bottom part of the image (figure 3). III. EVENT DETECTION BY VISUAL MOTION ANALYSIS AND EGO-MOTION SENSORS A. Image Processing. In order to identify the surrounding events of the urban cyclist, a camera was used to capture video footage. The captured images should identify stressful situations, for instance the cyclist being overcome from its left in a close call or the presence of ground irregularities. With the captured images it was possible to calculated the optical flow. Then a descriptor was built around this calculation and a k-nn Nearest Neighbor classifier was built. Figure 3 Frame with marked analysis window. This part of the image was chosen because it s where all the traffic and obstacles are located. For calculating the optical flow, instead of using a good features to track algorithm like Shi-Tomasi, a window of evenly spaced points was used instead. This approach allowed us to increase the number of points to be processed. However this approach doesn t detect the best points to be processed, which results in an optical flow with many errors. To overcome this problem a different approach for detecting outliers was used. Instead of processing the optical flow

3 between two frames, the optical flow was processed between three frames as it (figure 4). Cyclist turning right; Cyclist turning left, and Cyclist passing through ground irregularities. Figure 4 Approach used for the calculation of the optical flow This approach returns two flow vectors instead of one. Then if the angle between the two resulting vectors is very big, the corresponding point is considered an outlier. 2) Descriptor In order to analyze the processed optical flow, the window selected was divided into 6 evenly spaced rectangles as shown in figure 5. This classifier consists of a bank of 100 images with known situations, with the exception of Cyclist standing still. The classification is given based on the k-nn Nearest Neighbor algorithm, were the histograms of the bank are compared with the histograms of the image to be classified. The nearest top 10 images determine the category of the image to be classified. The class Cyclist standing still, is determined based on the calculated mean size of the vectors. If the mean size of the vectors is small, than the image is classified as Cyclist standing still. 4) Roadside obstacle proximity detector The cyclists usually ride on rightmost side of right lane, for that reason they are very close to the road side. An obstruction or obstacle on the roadside can lead to a stressful situation. For that reason a roadside obstacle proximity detector was built. This detector works by analyzing the average size of the vectors from the third rectangle in relation to the average size of the vectors form the entire image. If the average size of the vectors from the third rectangle is bigger than the average size of the vectors from the entire image, then there must be an obstruction or obstacle in the roadside. Figure 5 Frame with the 6 evenly spaced rectangles. Given this division, it was calculated for each rectangle an histogram of the flow vectors direction, with 8 evenly divided bins from [0 ; 2π] The mean size of the vectors of each rectangle was also calculate. 3) Event classifier With the defined descriptor, an event classifier based on the k-nn Nearest Neighbor was built with the following event classes: Cyclist stopped; Cyclist going forward with no obstacles; Cyclist being overcome by its left side; Figure 6 Analysis window with marked rectangle used on the roadside obstacle proximity detector. To measure the obstruction proximity, a ratio between the average sizes of the vectors from third rectangle over the average size of the vectors form all the image was calculated. B. Accelerometer Processing Cyclists must be extra cautious when driving in damaged roads or in ground irregularities. For this reason a ground irregularities detector was build.

4 As previously mentioned the smartphone was mounted on the bike handle and with this setup it is possible to detect ground irregularities. As the biker passes through an irregularity on the road, the accelerometer sensor of the smartphone registers the acceleration value (figure 7). Summing up, higher values of the LF/HF ratio relate to a more stressful event. There are no guidelines regarding the normal values for the LF/HF ratio as it changes from person to person based on their age, weight, height, and cardiac health [7], [8]. For this reason, the variation of the LF/HF ratio must be analyzed instead of the exact value. One limitation of this method is that in exercise sessions there is an increase on the sympathetic stimulation, resulting in an increase in the LF/HF ratio. However after the stabilization of VO2 value (Oxygen consumption), this stimulation decreases, returning to normal values [6]. This aspect must be taken into account when analyzing the LF/HF ratio values. V. EXPERIMENT TESTING IN REAL SCENARIOS Figure 7 Ground irregularities detector scheme. This oscillation after being detected is registered as a ground irregularity. IV. STRESS DETECTION BY HRV In order to validate the stressful events identified along this work, a stress detector was developed. Studies have shown that there is a relation between the variation of heart Inter-beat Intervals (RR) and the level of stress of a person [5]. This variation is called Heart Rate Variability commonly known as HRV. There are several ways to calculate HRV. In this work a frequency domain method was used. This method was chosen because it requires a smaller time sample to perform the analysis, in contrast to time domain methods [6]. The presented method was tested several times. In total 10 tests trips were performed, 8 of them in Lisbon city and 2 in Ponta Delgada city. A database was created based on this test trips, containing around 2h00 of data with the following data properly synced: GPS coordinates Video Electrocardiographic record (ECG) Acceleration on the 3 axis (Accelerometer) Rotation on the 3 axis (Gyroscope) In this chapter, the results of one of the test trips will be analyzed. This example took place between Instituto Superior Técnico and Rua Pardal Monteiro on the September 14 of 2015 around 2pm. In this method the Power Spectral density (PSD) of the RR intervals is calculated. From the resulting PSD we know that: Low Frequencies (LF): 0,04 Hz a 0,15 Hz correspond to the sympathetic stimulation (Stress) [7]. High frequencies (HF): 0,15 Hz a 0,4 Hz correspond to the parasympathetic stimulation (Relaxed) [7]. To determine the stress conditions of the cyclist the LF/HF ratio was calculated as followed: Let RR(t) be the variation of RR values along time t and S RR(f) the power spectral of RR(t) LF HF = 0.15 S RR (f)df 0.05 0.4 S RR (f)df 0.15 Figure 8 Map of the cyclist path.

5 Several variables were extracted from the data collected and will be presented only the ones that have the most interest. 1) Stressful events found In this test trip it was possible to identify a high LF/HF road section, corresponding to a climb, which was a known limitation of the system. In fact, the climb forces the cyclist to exercise more and it leads to myocardial stress. However the system detected two zones that were not climbs but had high LF/HF ratio. This zones are marked in figure 9. Figure 11 Image corresponding to marker B traffic in rotunda do Areeiro. VI. CONCLUSIONS With this work it was possible to prove that today smartphones can in fact be used as tools to study urban cyclists, identifying stressful city sections. It was also proven that the analysis of the optical flow can be a good way to identify several stressful events in an urban bicycle journey. Although the HRV analysis is a powerful and easy tool to implement, it s not the most adequate way to measure stress while cycling, due to the fact that it is affected by physical exercise. Other alternatives should be studied. Figure 9 Map with high LF/HF zones marked. Analyzing the images referring to point A, the cyclist had a close call from overcoming car by his left (figure 10). This close call could be directly related to the rise in sympathetic stimulation. A. Future work After being proven that the smartphones can in fact be used as cyclist monitoring devices, it would be interesting to implement the developed app and method in a large number of cyclists, in order to get a significant data sample. This large amount of data should then be studied to help making the cities more bike friendly. REFERENCES Figure 10 Images corresponding to marker A Close call overcome by the cyclist left. In point B, after the images analysis, it was found that the Rotunda do Areeiro had a lot of traffic at that specific time, which was a possible reason for the rise of the LF/HF ratio (figure 11). [1] Europa: menos automóveis, mais bicicletas, 2013. [Online]. Available: http://p3.publico.pt/actualidade/ambiente/7649/europa -menos-automoveis-mais-bicicletas. [Accessed: 29- Jan-2015]. [2] S. C. José Levy, Paulo Jorge, Paulo Lourenço, Liliana Claro, Cada vez mais pessoas utilizam bicicleta em Lisboa. [Online]. Available: http://www.rtp.pt/noticias/index.php?article=781330& tm=8&layout=122&visual=61. [Accessed: 20-May- 2001]. [3] M. C. Mekuria, P. G. Furth, and H. Nixon, Low- Stress Bicycling and Network Connectivity, p. 68, 2012. [4] T. B. H. T. R. Y. Brainwaves, The Bike Helmet That Reads Your Brainwaves, 2014. [Online]. Available:

6 http://spectrum.ieee.org/techtalk/biomedical/devices/the-bike-helmet-that-readsyour-brainwaves. [Accessed: 09-Feb-2014]. [5] A. L. Carneiro, T. Lopes, and A. L. Moreira, Mecanismos de adaptação ao exercício físico, Aula Teor. Prat., p. 24, 2002. [6] S. Sarmiento, J. M. García-Manso, J. M. Martín- González, D. Vaamonde, J. Calderón, and M. E. Da Silva-Grigoletto, Heart rate variability during highintensity exercise, J. Syst. Sci. Complex., vol. 26, no. 1, pp. 104 116, 2013. [7] G. Milicević, Low to high frequency ratio of heart rate variability spectra fails to describe sympathovagal balance in cardiac patients., Coll. Antropol., vol. 29, pp. 295 300, 2005. [8] M. M. Corrales, Normal values of heart rate variability at rest in a young, healthy and active Mexican population, Health (Irvine. Calif)., vol. 04, no. 07, pp. 377 385, 2012.