Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
IBM Research – Business Analytics and Mathematical Sciences
Monitoring Entire-City Traffic using Low-Resolution Web Cameras
Tsuyoshi Idé, Takayuki Katsuki, Tetsuro MorimuraIBM Research – Tokyo
Robert MorrisVP of Global Labs, IBM Research
© 2013 International Business Machines Corporation 2
IBM Research – Business Analytics and Mathematical Sciences
Need lightweight Intelligent Transportation System (ITS) for developing countries
Day-to-day congestion Rapidly growing urban traffic Natural disaster
Transportation infrastructure is premature
© 2013 International Business Machines Corporation 3
IBM Research – Business Analytics and Mathematical Sciences
We propose a “Frugal innovation” approach that requires no expensive infrastructure but using cheap Web cameras
Infrastructure Analytics Analytics
Data quality: High
Cost: Very High
Data quality: Very low
Cost: Very cheap !
Standard approach Frugal approach
Infra-structure
© 2013 International Business Machines Corporation 4
IBM Research – Business Analytics and Mathematical Sciences
Two technical hurdles: image quality and partial observations
Very low resolution
Overlapped
Web camera observation only covered 5% of all roads
1. Images taken by Web-camera are Very Low-Quality
2. Web cameras only covered very limited areas
© 2013 International Business Machines Corporation 5
IBM Research – Business Analytics and Mathematical Sciences
Two key analytics tasks for solving the problems:visual analytics and network analytics
Estimate # of vehicles and average velocity
Estimate traffic flow on no-cam links
given
given
given
unknown
1. Visual analytics for solving the first challenge
2. Network analytics for solving the second challenge
Low quality partial observations
© 2013 International Business Machines Corporation 6
IBM Research – Business Analytics and Mathematical Sciences
Visual analytics
© 2013 International Business Machines Corporation 7
IBM Research – Business Analytics and Mathematical Sciences
We have developed two image processing technologies for estimating traffic information from Web-cams
Area-based vehicle counting technology
Number of Vehicles
Focus on vehicle-counting
Cross-correlation-based velocity estimation technology
Average Velocity
© 2013 International Business Machines Corporation 8
IBM Research – Business Analytics and Mathematical Sciences
Template matching
Feature-based classification
Template of •vehicles•windshields•headlights
Identify independent vehicles by scanning over the image
Training data
Vehicle
No vehicle
Build a binary classifier for image patches
Standard vehicle-counting methods are not applicable for analyzing web-cam images due to low image quality
Very low resolution
overlapped
Two Standard Approaches
Identification of independent vehicles is impossible for web-cam images, due to
© 2013 International Business Machines Corporation 9
IBM Research – Business Analytics and Mathematical Sciences
We developed a new algorithm focused on area of vehicles
Manually choose a focused area
# of vehicles
Optimized binarization
Input image
Compute the white area
Regression function for the white area
This is not based on techniques identifying independent vehicles
© 2013 International Business Machines Corporation 10
IBM Research – Business Analytics and Mathematical Sciences
Area-based vehicle counting technology
• Optimized binarization– Determine the binarization threshold– Choose the threshold so that the inter-
class variance is maximized• C.f. Otsu, IEEE Trans. Syst Man Cybern,
1979
• Regression-based vehicle-counting
– Propose a simple regression model, which is a linear model between the white area x and the number of vehicles y as y = ax + b
– Determine the parameters a and b, based on the training data
0 15 30 45 60 75 90 105 120 135 150 165 180 195 210 225 240 255
luminance value
Class 1 Class 2
frequ
ency
# of vehicles
White area
© 2013 International Business Machines Corporation 11
IBM Research – Business Analytics and Mathematical Sciences
[Vehicle counting] Evaluation using real web-cam images
© 2013 International Business Machines Corporation 12
IBM Research – Business Analytics and Mathematical Sciences
15
10
5
0
201206212230 201206212301 201206212309
Congestion rate
0.8 0.9 0.2
# ve
hicl
es
actu
al
pred
icte
d
actu
al
pred
icte
d
actu
al
pred
icte
d
12
10
0
201206241452 201206241552 201206241644
0.5 0.7 0.3
8642
# ve
hicl
es
Congestion rate
0
201206240206201206230203 201206260244
0.1 0.3 0.9
8
6
4
2# ve
hicl
esCongestion rate
actu
al
pred
icte
d
actu
al
pred
icte
d
actu
al
pred
icte
d
actu
al
pred
icte
d
actu
al
pred
icte
d
actu
al
pred
icte
d
[Vehicle counting] Evaluation using real web-cam images
Focused area Binarized image
Focused area Binarized image
Focused area Binarized image
© 2013 International Business Machines Corporation 13
IBM Research – Business Analytics and Mathematical Sciences
Network Analysis
© 2013 International Business Machines Corporation 14
IBM Research – Business Analytics and Mathematical Sciences
A problem is the coverage of web-cams are very restricted in the whole road network
• About 5% is covered in case of Nairobi, Kenya
– Need to estimate rest 95% of roads from 5% observations
• Related Technologies– Network tomography
• Estimate the demands of the origin and the destination of a trip, instead of traffic flow
– Link cost prediction• Need trajectories or dense observations for
input
→ They are not applicable for this problem setting
Web camera observation only covered 5% of all roads
© 2013 International Business Machines Corporation 15
IBM Research – Business Analytics and Mathematical Sciences
Analytical model
We formulate this problem as an inverse Markov chain problem
given
given
givenEstimate inter-link transition probabilities for all the intersections
Input: Traffic flow on a very limited link set
Output:
• Traffic flow on all of the links
• Overview: to approximate traffic system with Markov-chain model– Traffic flow of every road is computed as a visiting probability of the road from the
approximated Markov model
– Define: inter-link transition probability matrix• Representing drivers’ route selection probability at each intersection
– Task: to determine the transition matrix • So that its stationary distribution is consistent to the observation• This is an inverse problem of Markovian transition
© 2013 International Business Machines Corporation 16
IBM Research – Business Analytics and Mathematical Sciences
• Formulation: Traffic Markov process– Markovian driver model with three types of parameters
• Initial road distribution for a trip• Inter-road transition probability• Stopping rate for a trip
• Learning the model to estimate traffic flows on no-data links– Objective is to make its stationary distribution d(i) be proportional to the observed traffic
frequency f(i)
– Introduce regularization terms for some restrictions based on prior knowledge• Penalize right and left turns• Penalize inter-link transitions between different road types, e.g. from a highway to a side road
– Solve this learning problem using a gradient descent method
Solving the inverse problem of Markov chain
Stopping rate
Transition probability Initial distribution
© 2013 International Business Machines Corporation 17
IBM Research – Business Analytics and Mathematical Sciences
Evaluation of traffic flow using real data in Nairobi Central Business District (1/2)
Web-cam observation Estimated traffic flow
• Good agreement at the Web-cam links• Heavy congestion is indicated in the central area
– Highlighted by the dotted circle– Notice that the heaviest congestion road has no Web cameras
© 2013 International Business Machines Corporation 18
IBM Research – Business Analytics and Mathematical Sciences
• The predicted congestion is actually confirmed by a traffic survey report– i.e. Our algorithm successfully predicted unseen traffic !
Estimated traffic flow
Multimodal Transport modeling for Nairobi, Kenya: Insights and Recommendations with an Evidence-Based Model (2009)
Evaluation of traffic flow using real data in Nairobi Central Business District (2/2)
© 2013 International Business Machines Corporation 19
IBM Research – Business Analytics and Mathematical Sciences
CONCLUSION
• We have proposed a new approach to ITS. – Web-camera-based traffic monitoring– Network flow estimation from partial observation
• Using real Web cameras deployed in Nairobi, Kenya, we assessed the accuracy of our approach
• To the best of authors’ knowledge, this is the first practical framework for monitoring an entire city’s traffic without special and expensive infrastructure and time-consuming data calibrations.
© 2013 International Business Machines Corporation 20
IBM Research – Business Analytics and Mathematical Sciences
Details of individual technology
• [Visual analytics] – Takayuki Katsuki, Tetsuro Morimura, Tsuyoshi Idé, "Bayesian Unsupervised
Vehicle Counting," Technical Report RT0951, IBM Research - Tokyo, 2013.
• [Network analytics] – Tetsuro Morimura, Takayuki Osogami, Tsuyoshi Idé, "Solving inverse problem of
Markov chain with partial observations," to appear in Neural Information Processing Systems (NIPS 2013).
• Published also as Technical Report RT0952, IBM Research - Tokyo, 2013.