Thanks to Data Spree’s People Counting Firmware, you can use the ifm O3D3XX time-of-flight camera for people counting applications. If you have a standard ifm O3D3XX camera, you need to update its firmware first. To do so, follow the instructions below. Once the firmware is installed, you must configure the sensor’s height, counting regions, etc. as shown in the following sections.

Configuration

The configuration page of the camera can be accessed via a web browser on port 8099. For instance, http://192.168.178.34:8099 if the IP address of the camera is 192.168.178.34. In this configuration interface, you need to set up the so-called “region image”, which is used to specify the inside and outside are, and the mounting height. Additionally, you can specify areas that should be excluded by a height filter to improve the counting accuracy.

Configure Region Image

In the "Region Image" section, the online editor is used to define a counting line. To do this, select the option "Open online editor". A modal opens with detailed instructions.

  1. To add a count line, select the half of the image that marks the interior by left-clicking and dragging a polygon.

  2. Click on the arrow marked red in the picture below so that “1” is selected "Region Identifier".

  3. By clicking on "Save" the created region image is saved in the current session and appears in the "Working Draft". Now select "Upload" of the generated image so that the currently configured region image will be updated.

Configure Mounting Height

The approximate height of the camera must be entered in the XML-based configuration under the node "distanceFloor" in millimeters. A subsequent click on "Upload" updates the configuration on the camera. In the following screenshot, a height of 1.68m has been configured.

Network Configuration

For sending the counting results to an Analytics DS server, you must specify the IP address as well as an authentication token. Once you have entered this information, click the button “upload” to update the configuration on the device. You can find more details on this process here.

The O3D sensor communicates via HTTP with the Analytics DS server (port 80). In order to access the configuration area of the sensors, port 8099 must not be blocked. To use the automatic sensor detection feature of Analytics DS, ports 5060 and 5061 must be open. For receiving the point cloud from the sensor, you must be able to communicate on port 50010 via TCP with the camera. To perform a firmware update and use the ifm Vision Assistant for additional camera configurations, ports 80, 8080 (TCP) and port 3321 (UDP) must be open.

Firmware Update

To perform a firmware update, download the latest version of the People Counting firmware. You will get a file with the extension '.swu'.
Furthermore, download the IFM Vision Assistant. After the Vision Assistant has been started, cameras in the network can be detected automatically. If the IP of the camera is already known, you can also establish a connection manually:

Under "Device Setup" select the button "Update" under the heading "Firmware update" and choose the firmware that you have downloaded previously. The update may take a few minutes; the camera will reboot after the successful update.