Privacy Settings
By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy and Cookie Policy for more information.

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.

Published

January 15, 2020

Automatic passenger counting in trains with cameras

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:

  1. 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.
  2. 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.

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.

The Isarsoft Perception Dashboard

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

Düsseldorf landscape

Meet Isarsoft at EuroCIS 2025

Experience the future of retail technology at EuroCIS 2025, happening from February 18–20, 2025, at the Düsseldorf Exhibition Center. Discover innovative solutions and advancements transforming the retail industry.

Learn more
Shopping mall with people counting technology

What to Look for in People Counting Solutions in 2025

Discover the essential features to look for in AI-powered people counting solutions and how they can transform your business in 2025. From achieving high accuracy to seamless integration, real-time analytics, and user-friendly dashboards, this guide walks you through the key advancements shaping the industry. Whether you're in retail, museums, or transportation, learn how the right solution can optimize operations, improve customer experiences, and deliver actionable insights tailored to your needs.

Learn more
Grocery store surveillance

Loss Prevention Systems For Retail

AI-powered video analytics is revolutionizing loss prevention for retailers. By offering tools like real-time monitoring, behavior analysis, and tailored insights, these solutions proactively address theft risks while optimizing store operations and ensuring a secure yet customer-friendly environment.

Learn more