Go to documentation repository
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, Neurocounter, Neurotracker.
Attention!
The scanning mode doesn’t provide absolute detection accuracy, regardless of the number of windows.
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:
Parameter | Value | Description |
---|---|---|
Scanning mode | Set the checkbox | Scanning mode is enabled |
Clear the checkbox | Scanning mode is disabled | |
Scanning window height windowH | Numeric 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 |
Attention!
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:
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.