Automatic Passenger Counting in Trains With Cameras
It is the challenge of mobility providers to measure and predict these various long-term and short-term factors and adjust services accordingly.
January 15, 2020
Trains, subways and streetcars are key to improving transportation within and between cities. As urbanization causes cities and traffic to grow rapidly, so does the need for public transportation.
Demand and usage patterns can change for a variety of reasons. While new neighborhoods, infrastructure projects, new companies and employers have long-term impacts, rush hour, events, demonstrations and festivals provide short-term spikes. Shifting customer preferences and alternative services have a further impact on the demand of public transport vehicles.
It is the challenge of mobility providers to measure and predict these various long-term and short-term factors and adjust services accordingly. In order to obtain ridership data, the provider must conduct ridership counts or have them conducted. While there are several passenger counting strategies that will be covered in detail in another article, this article describes how security cameras on trains can be used for passenger counting.
Security Cameras in Trains and Busses
Security cameras are often already installed in trains, subways or busses to increase passenger safety and prevent vandalism. Using these existing cameras instead of dedicated sensors can reduce passenger counting costs by up to 80%.
The image below shows two typical floor plans of public transport vehicles, including the position of the mounted cameras. As can be seen, several cameras are installed per car to cover the entire area.
Depending on the position and mounting of the cameras, the perspective of the camera and the counting results obtained vary:
- If the cameras only capture the inside of the train, the total number of passengers and the total difference between stations can be determined. We call this type of application utilization application.
- Additionally, if the vehicle entrance areas are clearly visible, the exact number of people entering and exiting each station can be measured. This is one scenario where a count line application could be used.
Train floor plan 1 in the image corresponds to number one in the list. While train floor plan 2 can also record the exact number of passengers boarding and alighting due to the additional cameras 5, 6 and 7.
Using cameras for passenger counting
The colored overlays in the image below illustrate the counting zones. As you can see, cameras one through four create four counting zones (yellow, red, green, blue) in which passengers are counted. By adding the numbers from each zone, the total occupancy of the vehicle is obtained.
In the second layout, six additional count lines are shown as blue horizontal lines measuring passengers boarding and alighting from cameras 5, 6 and 7.
Following this example of one car, passenger counting can be performed for an entire vehicle. If aggregated even further, even the entire public transport network can be covered. We will provide a detailed description of this in another article.
Provision of the counting results
Most cameras already installed are not smart enough to perform passenger counting as accurately as public transportation providers require. Instead, an additional device is often needed to perform the calculation. This can be the vehicle's on-board computer, a server in the operator's data center, or a server in the cloud.
In any case, there must be a data connection from the vehicle to the operator. Bandwidth requirements are lowest for on-board computing. For image processing outside the train, bandwidth can be saved by only evaluating the compressed low-resolution images from the cameras every X seconds.
Set up video analytics
Setting up Isarsoft video analysis solutions is a matter of a few mouse clicks. Thanks to the interactive drag & drop interface, counts can be configured easily.
For the utilization application, the counting areas for each camera are adapted in the form of rectangles. These correspond to the counting zones from above.
For the application of the counting line, a line in the middle of the doors must be configured to count people entering or leaving the vehicle.
Analyze the data
The Isarsoft dashboard provides all the statistics you need. For simplicity it has predefined time ranges like:
- last hour
- last 24 hours
- last 30 days
to display either microscopic or macroscopic trends. For more detailed analysis, one can also select a custom time range or export the data to Excel format. In either case, data from multiple cameras can be aggregated to capture the bigger picture.
In our article about fleet utilization and management, we describe how the data can be further processed.
Reference: Munich subway
Isarsoft solutions are used by transport companies with the highest demands on accuracy, performance and service quality.
Patrick Chuh, project manager and responsible for the planning of the video technology at the Münchner Verkehrsgesellschaft (MVG) says about Isarsoft: "The solutions of lsarsoft GmbH help us as MVG to monitor the utilization of our infrastructure, to determine passenger numbers and ultimately to specifically increase the satisfaction of our customers.
In demanding application scenarios such as the Oktoberfest, Isarsoft solutions have proven to be very helpful in daily operations. Particularly noteworthy are the high counting accuracy and fast setup of our existing camera systems."
MVG is a public transport company and the operating company for the urban subway, streetcar and city bus services in Munich. As the parent company of MVG, Stadtwerke München (SWM) is responsible for the safe transportation of around 600 million passengers a year. For this purpose, the entire route network with a total route length of over 100 kilometers as well as the vehicle fleet with 300 buses, over 100 streetcars and almost 600 subway cars must be managed and maintained or repaired accordingly. MVG's means of transport are integrated into the Munich Transport and Tariff Association (MVV), of which the Munich City Council is a shareholder.
The Oktoberfest, also known as Wiesn, is the world's largest folk festival. Over a period of two weeks, several million visitors from all over the world come to Munich to enjoy Bavarian beer and the unique atmosphere and culture on the Theresienwiese. MVG transports a large proportion of the visitors to and from the festival grounds. Especially in the evening hours on Friday and Saturday nights, the Theresienwiese subway station (U4/U5) is extremely crowded. The interval is three minutes at peak times.
More about Isarsoft
With Isarsoft Perception, your camera systems become part of your business intelligence. Whether the goal is to increase efficiency, customer satisfaction or safety, Isarsoft Perception provides the insights needed for informed decisions.
Contact us, to learn more about how to turn security cameras into intelligent sensors.
What’s a Rich Text element?
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
Static and dynamic content editing
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
How to customize formatting for each rich text
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.
Optimize your business processes.
Improve business processes with video-based business intelligence from Isarsoft.
Explore More Publications
Performance Measurement in Retail - Top 10 KPIs for Every Retail Business
An effective measurement of performance in retail is a combination of the right tools and the right metrics. In this article, we outline the top 10 KPIs used to conduct retail-oriented performance analysis, and why.
Traffic Flow Measurement and Optimization in 2023
A guide to Traffic Flow Measurement and Optimization in 2023 - what the terms embody, its various benefits, and changes in the field over the past year.
Measuring Traffic Speed: How does Video Analytics help?
The measurement of traffic speed in a consistent, reliable manner is one of Isarsoft Perception's many features. In this article, we discuss how the software does it and the relevance of video analytics in the domain itself.