Professional Documents
Culture Documents
El tráfico vehicular se está haciendo día a día más complicado para nuestra sociedad, ya
que la cantidad de vehículos aumenta sin cesar y se producen congestionamientos que
aumentan los tiempos de traslado, producen retrasos indeseados que irritan ánimos,
dificultan los movimientos de servicios esenciales como ambulancias, bomberos, policía,
etc. En la ciudad de Santa Fe se ha identificado la necesidad de una reestructuración de
las políticas aplicadas a la circulación y se está trabajando en un Programa de Movilidad
Urbana. Una de las medidas iniciales es cuantificar objetivamente la densidad de tráfico
en arterias principales. En este trabajo se presenta el diseño, implementación y resultados
iniciales de un sistema de análisis automático de videos obtenidos de las cámaras urbanas.
Mediante procesamiento digital de imágenes se identifica los vehículos y se realiza el
conteo discriminando en coches de gran porte (camiones y colectivos), mediano porte
(automóviles y camionetas) y pequeño porte (motocicletas y bicicletas). El proyecto se
encuentra en fase de prototipo funcional, donde se llegó a implementar el sistema base de
procesamiento mencionado más una interface gráfica de usuario que permite la
visualización de videos, la configuración de parámetros de funcionamiento y la obtención
automática de la intensidad de tráfico en un intervalo de tiempo definido.
PROBLEMA:
En la ciudad de Santa Fe, en los últimos años se ha visto un incremento muy importante
del parque automotor. Esto permitió una mayor movilidad individual, pero a la vez genero
la necesidad de una reestructuración de las políticas para evitar el congestionamiento en
las calles. Produciendo así los siguientes efectos:
1
TRANSPORTE Y TRÁNSITO
SOLUCION:
Encontrando una desventaja la cual es una gran inversión para la implementación de estos
sistemas. Debido a esto se exploró tecnologías alternativas que no requieran una gran
inversión, finalmente se decidió desarrollar un sistema para medir la intensidad del tráfico
con base en técnicas de análisis y procesamiento de imágenes y videos. Utilizando
cámaras estándares que se utilizan para el monitoreo de las calles de la ciudad.
MATERIALES Y MÉTODOS:
2
TRANSPORTE Y TRÁNSITO
Módulo de Pre-procesamiento
Este módulo está encargado de la preparación de las imágenes, mediante los procesos de
normalización de la resolución, filtrado, normalización del nivel de iluminación,
determinación de una región de interés (ROI) y el ajuste de parámetros.
Módulo de Detección
En este módulo los dos bloques más importantes son el modelado del fondo y la detección
de vehículos en la escena. Además de ello se tiene la segmentación, representación y
clasificación y eliminación de sombras.
Este tiene por objetivo seguir la trayectoria y el movimiento de los vehículos detectados
en el módulo de detección. Esto tiene mucha importancia ya que de no hacerlo se puede
entorpecer el conteo. El objetivo es identificar la correspondencia entre los vehículos que
aparecen en los diferentes fotogramas sucesivos del video, para ello siguen los siguientes
pasos: Calculo del centro geométrico, resolución de oclusiones parciales y el seguimiento
de vehículos.
Módulo de Conteo
Innovación e Inédito
3
TRANSPORTE Y TRÁNSITO
Beneficiarios
Facilidad de Reproducción
Arquitectura de Hardware:
Cámaras de video:
• Marca Messoa.
PC:
• Procesador Intel Core i7, 16GB DDR3, disco rígido 1TB (SSD es Óptimo)
Arquitectura de Software:
El sistema está desarrollado sobre plataforma tipo PC, utilizando las siguientes
herramientas:
• Lenguaje C++
• Biblioteca de código abierto OpenCV, que contiene más de 500 funciones de visión
computacional y aprendizaje maquinal.
5
TRANSPORTE Y TRÁNSITO
El sistema es el uso del método de diferencia de vídeo entre cuadros para detectar
vehículos y el uso del método para agregar marcos al vehículo y el método de
comparación de límites para completar la función de conteo, con alta velocidad de
reconocimiento, operación rápida y fácil. La detección de vehículo básicamente es juzgar
si los vehículos pasan por la zona de detección, estableciendo una agrupación y brindando
la información necesaria. Asimismo, simplifica la complejidad del algoritmo de detección
de vehículo y mejora el tiempo real de las contradicciones, previendo una exactitud en la
detección, la claridad de la formación de objeto en cuanto a movimiento, la diferencia de
iluminación verdadera y la existencia de la cámara en blanco que algunas veces hace una
idea falsa del objeto.
Procesamiento de Imágenes:
Estos métodos tienen sus propias ventajas y desventajas, es necesario tomar decisiones
sobre las similitudes y las diferencias del entorno. Por ejemplo, basado en la constancia
6
TRANSPORTE Y TRÁNSITO
de color del método se aplica a todas las segmentaciones de sombra, basado en el modelo
de espacio de color el método tiene buena estabilidad, y el método de estadística no
paramétrica puede resolver el problema de diferente tamaño y fuerza de la sombra, pero
el modelo de espacio de color para el problema del efecto del tratamiento es bueno,
mientras que el método estadístico no paramétrico en términos del trato con rápido; El
método del modelo determinista se puede aplicar a un entorno especial, suponiendo que
cuanto mayor sea el efecto mejor.
Segmentación de imagen:
Resultados y análisis:
Conclusiones
8
TRANSPORTE Y TRÁNSITO
Many systems exist to aggregate and report on counting data, but the sensors traditionally
used to collect that data prove to be either too expensive, too unreliable or difficult to
install. For over a decade, PureTech Systems has applied its video analytics expertise
to perimeter protection situations. When presented with the counting need being raised
by universities and other large venues, it was quickly determined that video would be a
very effective and cost efficient sensor for counting vehicles in these situations.
A key component to any counting solution is accuracy, especially when that count is used
for a parking management type application. According to an IBM survey, drivers
globally spend an average of nearly 20 minutes per trip in pursuit of a parking
space. After 20 minutes of searching for a parking space, a customer does not want
information that there is a spot available, only to search the entire lot and find that this is
not the case. The result is a miserable customer experience and a low satisfaction rating.
In addition to keeping constituents happy with the parking experience, businesses with
parking management responsibilities also need to ensure people’s safety and protection
9
TRANSPORTE Y TRÁNSITO
of their assets. The longer it takes a driver to find a parking spot, the more likely they are
to park inappropriately or illegally. This is made worse by the fact that parking issues
tend to be governed by the First Law of Compounding Stupidity, which states that if a
single person or group does something stupid (as show in the figure to the right) the
likelihood of other persons or groups performing similar stupid acts will increase
exponentially.
Applying counting algorithms to video has proved to be extremely accurate, especially in
short-range applications, including parking lots and garages. The higher levels of
accuracy over traditional counting sensors greatly improves customer satisfaction, with
some installations experiencing daily complaints drop to zero.
Robust Performance
Many counting situations remain relevant 24 hours a day / 7 days a week, in all types of
weather and lighting conditions. From parking lots, to remote gates or roadway
monitoring. From a counting perspective, this can be especially problematic for outdoor
locations subjected to all types of weather. Similarly, budget and city codes affect
lighting coverage of these areas.
Video based counting can accommodate these challenges using such features
as background modeling, to ignore environmental factors such as rain, falling snow,
reflections from headlights and even moving vegetation. These algorithms operate in
conditions where the vehicle can be “seen”, which means in most cases, non-specialized
cameras and existing lighting will suffice.
For no light facilities, thermal and low light cameras have become very affordable
options. Video-based counting systems can utilize these sensors in areas with low light,
or no light, and provide very accurate counting data.
Counting Intelligently
10
TRANSPORTE Y TRÁNSITO
position on a roadway and want to ignore those objects with may pass through, but don’t
constitute a “vehicle” (people, bicycles, etc.). Through a feature called “classification,”
video counting places objects into segments, such as car, person, animal, bicycle,
etc. This allows the software to “count” only those items classified as vehicles and ignore
those objects that may be common in the area, but are not of interest for the total
count. When situations dictate, the classes of objects can be counted, to understand what
type of transportation is being used in the area (cars, pedestrians, bicycles, etc).
Many industries have the need for counting, including universities, entertainment venues,
airports, seaports, hospitals, convention centers and even public offices and
municipalities. It stands to reason that each industry has their preferred method to report,
display and disperse this type of information. Video-based counting is a very synergistic
approach to this variability, typically acting as a stand-alone sensor providing simple
count data to an enterprise system, such as a security system, parking management
console or access control system.The information content of the count can also vary based
on the sophistication of the management system, from a simple count to a count with
many attributes, such as, object type, object speed, object location, etc.
Affordable
Affordability is a key requirement for counting systems. Often times, there are multiple
counting locations, which may be located over a very large in physical area. This can
prove expensive when buying and installing custom counting sensors. Video-based
counting can be very affordable through the use of commercial cameras, which have the
ability to double as a security sensor. Likewise, existing security camera feeds may be
suitable for counting, which would require no additional hardware or installation cost.
11
TRANSPORTE Y TRÁNSITO
Additionally, moving a counting zone is as easy as making a few changes in the software
to accommodate a new zone in an existing camera view, or repointing the camera and
defining a new counting zone. Changing counting zones utilizing in-ground sensors, or
beam-break devices, typically requires uninstalling and then reinstalling sensors at the
new zone entrance and exit.
CONCLUSION
Utilizing intelligent video to gain insights into business operations is becoming more and
more prevalent across all markets. Video is readily available, cost effective and results
in very accurate data. This is equally true when considering its use as a counting sensor
for parking management operations. Video-based counting is:
Extremely accurate
Robust in a range of lighting and weather conditions
Provides intelligence to understand vehicle types
Is affordable and supports a variety of installation options
Easily integrates into existing enterprise systems.
12
TRANSPORTE Y TRÁNSITO
ANEXOS
13
TRANSPORTE Y TRÁNSITO
14
TRANSPORTE Y TRÁNSITO
REFERENCIA BIBLIOGRÁFICA
Xu, S. P. (2014). A study of vehicle detection and counting system based on video. Sensors &
Transducers, . 30-36.
15