Professional Documents
Culture Documents
The purpose of this paper is to give a proposal of a system which intelligently detect vehicles on
a particular road and count them in order to give overview of traffic condition on a particular
highway, so that government can analyze and notify which highway route is better to go to.
Highway is an essential infrastructure to development of a country and industry, be it for
transporting things and/or person. However, in a developing country such as Indonesia
sometimes congestion occur. This phenomenon stalls transportation, therefore stalling the
development of the country and industry itself. On the other hand, government has built
alternative highway to solve this problem. Such problem still arises when people does not know
which highway is more congested than the other and chose the wrong road.
Artificial Intelligence/AI is a field where machine is made to think intelligently much like the
way human thinks and with that power, object detection can be done by the machine itself. As a
fast growing field and flexible uses of the technology, I believe that AI is the new trend to
approach all problems in the future.
The proposed system uses trained deep learning model to detects vehicle with webcam, and
OpenCV to draw a virtual line on a video frame to know whether the vehicle has crossed the line
or not, therefore the counting process can be done and best decision can be made after traffic
information condition is obtained.
Keywords: AI, deep learning, opencv, traffic congestion, vehicle detection
Centroid of a vehicle
At a glance, this seems easy and problem free, but in reality the detection may not stable causing
lost object in between frame detection. Lost object means lost centroid, and that previous
centroid needs to be compared to nothing because of lost detection. This causes invalid centroid
comparison to other vehicle centroid. This is where we use Pythagorean theorem, it calculates
the distance (Warehouse, n.d.) between previous centroid and newer centroid, and the least
distance will be matched with that particular centroid, creating indirect vehicle tracking, thus,
removing invalid centroid comparison.
With that information, government can analyze a lot of things, be it traffic suggestion, accident
investigation, highway development, etc.
References
Supercircuits. (2014, August 20). Alibi ALI-IPU3030RV IP Camera Highway Surveillance.