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

Optimizing the Port of Algeciras Operations with Isarsoft's Traffic Management Solution

Optimizing the Port of Algeciras Operations with Isarsoft's Traffic Management Solution

As a vital gateway for trade between Southern Europe, Africa, and the Americas, and a key player in container transit and petroleum product handling, APBA is setting new standards in maritime and port services. To further enhance its operations, APBA has partnered with Isarsoft on a pilot project aiming to leverage AI and computer vision technologies to optimize road traffic management within its facilities.

Learn more
Hospital waiting lounge

Smart Hospitals: AI Video Analytics for Hospitals

Transforming traditional hospital operations into smart, efficient systems hinges on overcoming challenges like overcrowded waiting rooms, patient flow bottlenecks, and security concerns. AI-driven video analytics is key to this transformation, offering real-time insights, automating critical processes, and enhancing patient safety. By optimizing patient flow through occupancy monitoring, queue management, and ensuring security with violence and slip detection, hospitals can elevate care quality and streamline their operations, resulting in a more efficient, data-driven healthcare environment.

Learn more
How Video Surveillance is Shaping Transparent and Fair Elections

How Video Surveillance is Shaping Transparent and Fair Elections

Technology, particularly video surveillance, plays a vital role in safeguarding elections. By monitoring polling stations, overseeing the counting process, and protecting high-risk areas, video surveillance enhances transparency and integrity, enabling officials to detect and address irregularities swiftly. In this article, we will explore the critical role of video surveillance in election security, examining how it can contribute to a transparent, reliable electoral process where the will of the people is fully represented.

Learn more