Software Development for Calculating Foot Traffic Using LiDAR

Lidar

The goal

The client is a European provider of digital tools for corporate marketers. The task is to create a technological solution for analyzing the effectiveness of billboard advertising.

Timeline

7 months

Year

2024

Technologies

There are only two types of billboards

These two types are effective and ineffective billboards. Hundreds of people pass by the first type every minute, while the second type is unnoticed by anyone.

It's easy to distinguish between them if the marketer ordering out-of-home advertising knows the city well. But what if they live in Madrid and are placing ads in Stockholm? This is precisely why an independent tool for evaluating foot traffic near billboards is needed for such situations.

Case banner (mobile version)

Why We Couldn't Use Regular Cameras

Technically, our task could have been solved easily: we install a camera, connect an AI computer vision model, and it counts people. However, our solution needed to operate in the European market, where GDPR, the law on personal data protection, applies.

Recording people on the streets for marketing purposes is prohibited by law. Our solution had to only capture information about the number of people. Therefore, a regular camera was not suitable.

Case banner (mobile version)

Why We Decided to Use LiDARs

To address the problem, we considered two alternatives to replace a regular camera: LiDARs and thermal imagers. Both devices can count the number of people without capturing any personal information.

LiDARs proved to be the more reliable technology. We proceeded with calculations: which LiDAR we needed, its field of view angle, and the optimal positioning near the billboard.

Case banner (mobile version)

Which LiDAR Did We Choose for Our Tasks

The optimal model turned out to be the MID-360. It's compact, has high build quality, offers high resolution, and most importantly, operates at 10 frames per second.

Case banner (mobile version)

How to Teach a Neural Network to 'See' Coordinates?

LiDAR transmits data in the form of coordinate sets, which are in a text file format unsuitable for any computer vision models.

Therefore, we developed specialized software that converts these coordinates into images. These images do not reveal identifiable human faces. Capturing data via LiDAR does not violate GDPR regulations

What Other 'Details' Did We Need?

To collect data and transmit it to the server, we:

  • Connected the LiDAR to a Raspberry Pi mini-computer
  • Connected a 4G modem to the Raspberry Pi
  • Created scripts in Ansible to simultaneously manage the devices

Case banner (mobile version)

Dataset Preparation and Neural Network Training

As our computer vision model, we chose YOLO8 because it is resource-efficient and supported by numerous open-source libraries. To train the neural network, we captured 8000 LiDAR snapshots, converted them into images, and annotated human figures.

How It Works: Summary

  • The LiDAR captures pedestrian figures for several minutes
  • Ansible stops data capture on all devices/li>
  • Our software converts LiDAR coordinates into images
  • YOLO8 counts the number of people passing by the billboard during the capture period
  • Raspberry Pi sends the pedestrian flow data to the server
  • Marketers use this data to analyze the effectiveness of the billboar

Case banner (mobile version)

Our Next Steps

We have prepared an engineering solution that our client and their clients, corporate marketers, can already use. Looking ahead, our future plans involve integrating the LiDAR, mini-computer, and modem into a single device capable of operating in any weather conditions.

Project team

Daniil Semenov

Project manager

Yuri Umnov

ML engineer

Danila Skablov

Backend developer

Ivan Petrov

Backend developer

Ready to discuss your project?

Our contacts

Fill out the form to the bottom or email

Email: business@unistory.orgTelegram: unistoryapp

We'll get back to you shortly!

By clicking the button, you consent to the processing of personal data and agree to the privacy policy.

Almaty office

st. Rozybakieva 289/1, office 36,
Almaty, Kazakhstan, 050060

Integrating the future


© 2025 Unistory