Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Tip

Creating Detection Tools

General Information on Configuring Detection

Extra information overlay (Masks)

To configure a VMD:

  1. To record Motion mask to archive, set Yes for the corresponding parameter (1).
    Image Added
  2. The Video Motion Detection tool can receive tracking metadata generated by the Motion Maskmask. The metadata are recorded into the database by default. To disable, select No in the Record Object Tracking Record objects tracking (12).
  3. Image Removed
    If a camera supports multistreaming, select the stream for which detection is needed (23). Selecting a low-quality video stream allows reducing the load on the Server.
  4. In the Alarm end delay field, set a value in seconds for the time interval within which the detection tool remains triggered after motion stops (4). If motion is re-detected within this interval, no new event will be created.

  5. To reduce false alarms rate from a fish-eye camera, you have to position it properly (35).   For other devices, this parameter is not valid.
  6. If necessary, enable the video stream grooming (46). In this case, only the I-frames will be decoded.

    Note
    titleImportant

    This setting applies to all codecs. If a codec has keyframes and p-frames, the keyframe is decoded no more often than every 500 milliseconds. For the MJPEG codec, each frame is considered to be I-frame.

    This feature reduces the Server load but, as can be expected, negatively impacts the quality of detection.

    This setting should be activated on "blind" Servers (Servers that do not display video) on which it is necessary to perform detection.

    Note
    titleImportant

    Period and Decode key frames parameters are correlated.

    If no local Clients are connected to a Server, the following rules are set for remote Clients:

    • If the interval between consecutive I-frames exceeds the value specified in the Period field, the detection tool will process I-frames.
    • If the I-frame frequency is lower than the value specified in the Period field, the detection tool will use the set value.

    If at least one local Client connects to the Server, the detection tool is forced to use the set value. After the local Client disconnects, the indicated rules become valid again.


  7. Choose a processor to run detection on (5Select a processing resource for decoding video streams (7). When you select a GPU, a stand-alone graphics card takes priority (when decoding with NVidia NVDEC chips). If nonethere's no appropriate GPU, the Intel's integrated graphics will be useddecoding will use the Intel Quick Sync Video technology. Otherwise, detection runs on the CPU.CPU resources will be used for decoding.

  8. Set the frame rate value for the detection tool to process (8). This value should be in the range [0,016; 100]. 
  9. The VMD analyzes differences between the current frame and the static background (11, 12). Depending on a particular scene, we recommend the following sensitivity values for contrast and size:

    Video motion detection (VMD) recognizes a change in the video signal in relation to a reference image of static background (a specific location , video scene or part of a video scene, see 9-10).
    For VMD, pixel brightness is averaged with Median Filtering to get a block of 80x60 cells from the raw image. If the brightness levels of same cells in the current frame and the background / reference image change and exceed the threshold value defined by the Sensitivity: Contrast (for example, 7 if the sensitivity threshold value is at 16 and 29 if sensitivity is 0). Motion is detected  if the number of brighter / darker pixels  exceeds the threshold value defined Sensitivity: Size (for example, 3 cells from the 80x60 block at a sensitivity value of 10 and 53 at 0).
    1. Maximum sensitivity (street scenes where target objects are smaller):

      1. Sensitivity: contrast = 16.

      2. Sensitivity: size = 10.

    2. Medium sensitivity (default values for generic scenes):

      1. Sensitivity: contrast = 12.

      2. Sensitivity: size = 9.

    3. Low sensitivity (indoor cameras with an average distance to object of ca. 4m):

      1. Sensitivity: contrast = 8.

      2. Sensitivity: size = 8.

      1. For your convenience with setting sensitivity value, in the preview window you can see the Motion

    Mask
      1. mask. To disable it, select No in the Motion

    Mask
      1. mask (

    6
      1. 9) field.

    Image Removed
      1. Image Added
        If there is motion, but it does not exceed the threshold value (because of the detection sensitivity), the mask cells are colored green. If motion triggers VMD, the cells turn red.

  10. To get tracked objects and their parameters (percentage of the FoV width/height, color) displayed in the Preview window, select Yes in the Object Trackingtracking field (710). 

  11. By default, VMD (video motion detection) covers the entire FoV.  In In the FoV, you can set privacy masks - exclude areas – closed areas, inside of which you want no detection.
    Privacy masks Exclude area are created similar to scene analysis configuration   (see Setting General Zones for Scene Analytics). 
  12. In the Period field (8) enter the time in milliseconds. This the time before  the next video frame is processed. This value should be in the range [0, 65535]. If the value is 0, each frame is processed.

  13. By default, VMD (video motion detection) covers the entire FoV. In the FoV, you can set privacy masks - closed areas, inside of which you want no detection.
    Privacy masks are created similar to scene analysis configuration  (see Setting General Zones for Scene Analyticsanalytics detection tools). 
  14. Click Apply.

VMD configuration is now complete.

Tip

Checking the Triggering of a Detection Tool