MVTEC HALCON
Controlling the number of people in a building can be necessary for many reasons, as the COVID-19 pandemic has shown. The aim of the application is to be able to precisely indicate the amount of people present in a building. Based on this, entry restrictions can be put in place once the maximum permitted quantity is reached. In order to do this, an exact count of each person entering and leaving the building and a calculation of the number of people in the building in real time is required.

To ensure reliable and safe counting, even difficult cases must be detected, e.g.:
Before the use of MVTec HALCON different solutions have been utilized: One possibility was to use additional personnel. This method, however, proved to be expensive on a long-term basis and “miscounting” errors occurred. In order to minimize this risk, each customer was obligated to use one of the counted shopping carts. However, additional staff was still necessary to ensure that each customer did use a shopping cart.
Another possibility was the use of widespread marketing analysis systems. However, since these systems do not measure reliably and fast enough, they are not suitable for controlling the number of people in a building.

HALCON is used to detect and isolate persons in a depth image. For this purpose, real-time depth images are first acquired with a stereo camera. After some preprocessing, interconnected height profiles are identified and analyzed. Using the mathematical morphological algorithms integrated in HALCON, pixel clusters are segmented, and individual persons are recognized based on their characteristic appearance on the depth image
Using a tracking method, the found persons are assigned waypoints spanning several images to create a path that represents the movement of the identified persons. Finally, the paths found are used to increase or decrease the number of persons.
"In the current crisis, the development time for a project is extremely critical, which is why we decided to go with HALCON. The well documented and reliably tested algorithms allow us to concentrate on the important challenges during development".
Jan Strelen, development engineer
Text kindly provided by Strelen Control Systems GmbH.
Published on: August 16, 2013
REAL-WORLD APPLICATIONS