Documentation for DetectorPack PSIM 1.0.1.

Previous page Configuring the events archive length  Activating the VI license Next page

On the page:


General information

The scanning mode in DetectorPack PSIM can improve detection of small objects or objects in areas far away from the camera. For example, when the camera is placed at a long distance and objects (such as people, smoke, fire) are small in the frame, scanning mode can improve detection.

In the scanning mode, the frame is divided into several scanning windows for detection accuracy.

Scanning windows are parts of the frame that are analyzed separately and all together at the same time. Scanning windows allow the detection tool to receive more events, which improves the accuracy of detecting distant or small objects that might otherwise be missed.

Scanning mode is available for Fire detection, Smoke detection, NeurocounterNeurotracker

Attention!

The scanning mode doesn’t provide absolute detection accuracy, regardless of the number of windows.

Configuring the scanning mode

By default, scanning windows with the following sizes are created: windowH(Scanning window height)=540, windowW(Scanning window width)=480, windowStepH(Scanning window step height)=540, windowStepW (Scanning window step width)=480.

You can change the sizes of the scanning windows of the Neurocounter and Neurotracker detection tools using registry keys. To do this, do the following:

  1. Create a new section in the registry:
    1. NEURO_TRACKER_id, where id is the id of the neurotracker, which window sizes you want to change for the scanning mode, at the path Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\AxxonSoft\Axxon PSIM\DetectorExt\NEURO_TRACKER for the neurotracker.
    2. NEURO_COUNTER_id, where id is the id of the neurocounter, which window sizes you want to change for the scanning mode, at the path Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\AxxonSoft\Axxon PSIM\DetectorExt\NEURO_COUNTER for the neurocounter. 
  2. In this section, create four registry keys windowH, windowW, windowStepH, windowStepW and assign nonnegative integer values to them. If you don’t specify any of the four keys, the default sizes of the scanning windows are used. See Registry keys reference guide. For more information on working with the registry, see Working with Windows OS registry.
ParameterValueDescription
Scanning modeSet the checkboxScanning mode is enabled
Clear the checkboxScanning mode is disabled
Scanning window height windowHNumeric value (in pixels)

The height and width of the scanning window are determined according to the actual size of the frame and the required number of windows. If the height and/or width of the scanning window exceeds the height and/or width of the frame, the registry key automatically changes the window parameter to the appropriate frame size.

For example, the real frame size is 1920×1080 pixels. To divide the frame into four equal windows, set the width of the scanning window to 960 pixels and the height to 540 pixels

Scanning window width windowW
Scanning window step height windowStepH

The scanning step determines the relative offset of the windows. If the step is equal to the height and width of the scanning window respectively, the segments will line up one after another. 

Reducing the height or width of the scanning step will increase the number of windows due to their overlapping each other with an offset. This will increase the detection accuracy, but will also increase the CPU load

Attention!

The height and width of the scanning step must not be greater than the height and width of the scanning window—the detection tool will not operate with such settings.


Scanning window step width windowStepW

Recommendations for custom configuration of the scanning mode

  1. The number of windows depends on the specific tasks, the quality of the source frame, and the capabilities of the devices. If the source frame is of low quality or small size, a large number of windows won’t improve the accuracy of the detection, but can lead to false alarms or no detection. You must select the number of scanning windows experimentally. The recommended optimal number of scanning windows is from four to eight.
  2. To determine the size of scanning windows, divide the height and width of the frame so that to get the required number of windows.
  3. We recommend setting the same values for the window height and scanning step, as well as the window width and scanning step.
  4. If you didn’t get the detection tool responses at the same values of window and step, you must experimentally reduce the scanning steps relative to the height or width.

Attention!

    1. Increasing the number of windows increases the load on the device.
    2. Custom configuration is possible for Neurocounter and Neurotracker only. If you enable the scanning mode for Fire detection and Smoke detection, the default parameters are used.

Example of configuring the scanning mode

It is necessary to configure the scanning mode for Neurocounter to detect vehicles in the distance. If the actual frame size is 1920×1080 pixels, set the following values in the detection tool settings to divide the frame into four equal windows:

  1. Scanning window—set the checkbox (see Configuring the Neurocounter module) in the settings of the detection tool.
  2. Specify the values for the registry keys in the NEURO_COUNTER_id section:
    1. windowH=540;
    2. windowStepH=540;
    3. windowW=960;
    4. windowStepW=960.

As a result, the frame will be conditionally divided into four equal windows that will be analyzed separately and all together at the same time. If vehicles are detected in any of these windows, the detection tool can trigger.

  • No labels