Professional Documents
Culture Documents
Embedded System
2
l
l
l
F. Al Afif I, M. Febrian Rachmadi \ A. Wibowo1 , W. Jatmiko , P. Mursanto , and M. Anwar Ma'sum
IFaculty of Computer Science, 2 Informatics Dept. Faculty of Mathematics and Natural Science
IUniversitas Indonesia, 2Universitas Diponegoro
IDepok, West Java, 2Semarang, Central Java
I, 2Indonesia
Abstract:
Traffic plays an important role in social stability and
community development. Without an appropriate traffic
signal control system, the possibility of traffic congestion
will be very high and causes various negative impacts.
The traffic signal control system with video camera
sensor
is
implemented
in
embedded
systems
using
of
counted
vehicles
in
each
lane
at
the
- 367 -
2. PREVIOUS WORK
- 368 -
visual object detection are not true Haar wavlets, but rather a
combination of rectangles that better suited to visual
recognition tasks. Therefore, these features used in the
Viola-Jones method are called Haar features, or Haarlike
features, rather than Haar wavelets. In OpenCV library that
is used by this study, the Viola-Jones method was developed
to detect objects quickly, for example, is a human face.
Figure 2 shows an example of Haarlike features used in the
Viola-Jones method in OpenCV.
". ,
"Prediction"
- 369 -
Video
Rate
Resolu
Object
Video
Normali
tion
Detection
Frames
zation
Normali
zation
Object
Kalman
Object
Counting
Filter
Tracking
4. 1. 1 Input stage
- 370 -
state vector
dx/
dt
d y/
dt
measurement vector
tT=ition matT'"
(1)
[i
measurement matrIX
G]
(2)
dt
1
0
[1
0
1
dt
']
(3)
1 ]
(4)
Where:
x= x coordinates of cartesian field.
y= y coordinates of cartesian field.
dx/dt = object speed with respect to time on x cartesian field.
dy/dt = object speed with respect to time on y cartesian field.
dt = change of the time between successive frames.
In developing the program, we use OpenCV because
OpenCV Kalman Filter has been providing functions for
both subprocess. The prediction prosess is performed on
each object in the linked list if there is a change of position
of the object. The correction prosess is performed on each
object in the linked list if there is a change of time, or in
other words, the process is done on every changes in the
frame of the traffic video.
4. 1.2.3 Vehicle Counting
Rule:
10
15
20
25
30
2.
3.
EZSXd
o
10
20
30
Output variables:
I.
G r een time extension
MI us
STATE
PI.
0.5
10
-8
-6
-4
-2
L 1SZX1
o
10
371
Counted
Vehicle
by
Manual
(M)
PCA&
Eucli
dean
Distance
(PEl
Error
I MPEl
87
84
3.45
96. 55
58
42
16
27. 59
72.41
102
109
6.86
93.14
128
120
6.25
93.75
Error
(%)
Accur
acy
('Yo)
Table 2. The accuracy of the latest vehicle detection and counting program
on a variety of weather and traffic conditions
Weather and Traffic
Condition
REFERENCES
Counted
Vehicle
by
Manual
(M)
ViolaJones&
Kalman
Filter
(VK)
Error
I MVK I
87
87
0.00
100.0
[2]
58
47
II
18.97
81.03
[3]
102
94
7.84
92.16
[4]
128
120
6.25
93.75
Sunny Day in
Traffic Jam
Cloudy Day in
Normal Traffic
Sunny Day in
Crowded Traffic (I)
Sunny Day in
Crowded Traffic (2)
Error
(%)
Accur
acy
[I]
(%)
[5]
>:
"
E
<f!.
85.00%
::J
80.00%
7500%
"
"
[6]
C'\.
\."\..
/
\."\,..
.4
\. '\/ /
\. /
[7]
[8]
70.00%
[9]
6500%
6000%
At Cloudy Day
At Sunny Day
At Sunny Day
in Normal
in Crowded
in Crowded
Traffic
Traffic(1)
Traffic(2)
96. 55%
72.41%
93.14%
93.75%
100.00%
81.0 3%
92.1 6%
93.75%
At Sunny Day
in Traffic Jam
Previous
Version
Latest
Version
[10]
[II]
[12]
- 372 -
[13]
[14]
[15]
[16]
[17]
[18]
s1
&catid56:berita-kegiatan&Itemid55. Last accessed on March, 21
2011.
Yayasan Pelangi. http://wwwpelangi.or.id/pressphp?persid64 .
Last accessed on December, 26th 2010.
Traffic Management Center. http://www.tmcmetro.com/. Last
accessed on December, 26th 2010.
N. H.Gartner, S. F.Assmann, F. Lasaga, and D. L. Hom. A multiband
approach to arterial traffic signal optimization. Transport. Res. B, vol.
25, pp. 55-74, 1991.
Azimirad, E., Pariz, N., & Sistani, M. B. A Novel Fuzzy Model and
Control of Single Intersection at Urban Traffic Network. IEEE
SYSTEMS JOURNAL, Vol. 4. No.I,107-111. 2010.
W. Hong and x.-g. Mu. A cooperative fuzzy control method for
traffic lights. J. Syst. Simul., vol. 13, no. 5, pp. 551-553, 2001.
E. Bingham. Reinforcement learning in neurofuzzy traffic signal
control. Eur. J. Oper. Res., vol. 131, pp. 232-241, 2002.
Jatmiko, W., et.a!. "Detection and Counting of Vehicles based on
Video Processing in Distributed Traffic System", International
Conference on Advance Computer Science and Information System
2010.
Jatmiko, W., Hariyadi, F., Krisnadhi, A A, Takagawa, I., Sekiyama,
K., & Fukuda, T. Distributed Traffic Control with Swarm-Self
Organizing Map in Jakarta: Simulation and Measurement.
International Symposium
on Micro-Nano Mechantronics and
Human Science, MHS, 598-601. 2009.
Hewitt, Robin. 2007. "How Face Detection Works". Cognitics,
Resources for Cognitive Robotics. hup://www.cognotics.com/opencv/
servo_2007_series/part_2/sidebar.html. Last accessed on August,
24th 2011.
Kuranov, Alexander, Rainer Lienhart, dan Vadim Pisarevsky. "An
Empirical Analysis of Boosting Algorithms for Rapid Objects With
an Extended Set of Haar-like Features". Intel Technical Report
MRL-TR-July02-01, 2002.
Seo, Naotoshi. 2008. "Rapid Object Detection With A Cascade of
Boosted Classifiers Based on Haar-like Features". Tutorial: OpenCv'
hUp://note.sonots.com/SciSojtware/ haartraining.html. Last accessed
on March, 21't 20II.
G. Welch and G. Bishop. "An Introduction to the Kalman Filter,"
UNC-Chapel Hill, 2004.
Kim S. Applications of Petri Networks and Fuzzy Logic to Advanced
Traffic Management Systems. Ph.D. thesis, Polytechnic University,
New York, USA 139 p. 1994.
Pappis C., Mamdani E. A fuzzy logic controller for a traffic junction.
IEEE transactions on systems, man and cybernetics. Vol. SMC-7, No.
10, pp. 707-717.1977.
Niittymiiki, Jarkko. Fuzzy Traffic Signal Control: Principles And
Applications. Helsinki University of Technology Transportation
Engineering Publication. 2002.
Slinn, M., Paul Matthews, Peter Guest. Traffic Engineering Design,
2nd Edition . Elsevier Butterworth-Heinemann, Burlington, 2005.
Rada-Vilela, Juan, Sergio Guadarrama, Luis Magdalena. FuzzyLite, A
Fuzzy Inference System written in C++. September 2010.