Versions Compared

Key

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


Column
width50%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:
Table of Contents



Column


Configuration of the Neurocounter module includes: configuring the detector and selecting the area of interest. You can configure the Neurocounter module on The Neurocounter module can be configured on the settings panel of the Neurocounter object created on the basis of the Camera object on the Hardware tab of the System settings dialog window.

The Neurocounter module is configured as follows:

Configuring the detector

  1. Go to the Neurocounter object settings panel.
    Image Removedthe settings panel of the Neurocounter object.
    Image Added
  2. Set the Show objects on image checkbox to frame the detected object on the video image in the debug window (see Start the debug window).
  3. From the Camera position drop-down list, select:
    1. Wall—objects are detected only if their lower part gets into the area of interest specified in the detector settings.
    2. Ceiling—objects are detected even if their lower part doesn't get into the area of interest specified in the detector settings.
  4. In the Number of frames for analysis and output
  5.  field (1)
  6. field, specify the number of frames
  7. to
  8. that must be processed to determine the number of objects on them.
  9. In the Frames processed per second [0
  10. ,
  11. .016, 100] field
  12. (2)
  13. ,
  14. set
  15. specify the number of frames
  16. per second that will be processed by the detection tool
  17. processed per second by the neural network in the range from 0.016 to 100. For all other frames interpolation is performed—finding intermediate values by the available discrete set of its known values. The greater the value of the parameter, the more accurate the detector operation, but the higher the load on the processor.
  18. From the Send event drop-down list
  19. (3)
  20. , select the condition by which an event with the number of detected objects
  21. will be
  22. is generated:
    • If threshold exceeded
  23. -
    • is
  24. triggered
    • generated if the number of detected objects in the image is greater than
  25. or equal to
    • the value specified in the Alarm objects count field
  26. .
    • ;
    • If threshold not reached
  27. -
    • is
  28. triggered
    • generated if the number of detected objects in the image is less than
  29. or equal to
    • the value specified in
  30. the 
    • the Alarm objects count field
  31. .
    • ;
    • On count change
  32. -
    • is
  33. triggered
    • generated every time the number of detected objects changes
  34. .
    • ;
    • By period
  35. -
    • is
  36. triggered
    • generated by
  37. a
    • the time period:
      1. In the Event periodicity field, specify the time after which the event with the number of detected objects is generated. The range of values: from 1 to 100—for seconds, minutes, hours; from 1 to 20—for days.
      2. From the
  38. Event periodicity 
      1. Time interval drop-down list
  39. (4)
      1. , select the time unit of the counter period: seconds, minutes, hours, days.
  40. In the Event periodicity field (4), set the time after which the event with the number of detected objects will be generated.
  41. In the 

      1. Info
        titleNote

        If the entered value exceeds the allowable range, then after you click the Apply button, the maximum value is set automatically.

  42. In the Alarm objects count field
  43. (5)
  44. ,
  45. set
  46. specify the threshold number of detected objects in the area of interest. It is used in the If threshold exceeded and If threshold not reached conditions. The default value is 5.
  47. In the Recognition threshold [0, 100]

  48.  field (6)
  49. field, enter the

  50. neural counter sensitivity –
  51. neurocounter sensitivity—an integer value in the range from 0 to 100. The default value is 30.

    Info
    titleNote
  52. The neural counter
  53. The neurocounter sensitivity is determined experimentally. The lower the sensitivity, the higher the

  54. more false triggerings there might be
  55. probability of false alarms. The higher the sensitivity, the

  56. less false triggerings there might be
  57. lower the probability of false alarms, however, some useful tracks

  58. might
  59. can be skipped. See Example of configuring neurocounter for solving typical tasks.

  60. Set the Scanning mode checkbox to detect small objects. If you enable this mode, the load on the system increases. So in step 5 we recommend specifying a small number of frames processed per second. By default, the checkbox is cleared. For more information on the scanning mode, see Configuring the Scanning mode.
  61. By default, the standard (default) neural network is initialized according to the object type selected in step 14 and the device type in step 13. The standard neural networks for different processor types are selected automatically; you must not do it manually. If you use a custom neural network, then click the Image Added button to the right of the .Click the Image Removed button (7), Tracking model field, and in the standard Windows box that opens, select the neural network file with the neural counter model.Explorer window that opens, specify its file.
    Note
    titleAttention!

    To train a neural network, contact the AxxonSoft technical support (see Data collection requirements for neural network training). A neural network trained for a specific scene allows detecting objects of a certain type only (for example, a person, cyclist, motorcyclist, and so on).

  62. Set the Model quantization checkbox to enable themodel quantization. By default, the checkbox is cleared. This parameter allows reducing the consumption of the GPU's computational power.
    Info
    titleNote
    1. AxxonSoft conducted a study in which a neural network model was trained to identify the characteristics of the detected object. The following results of the study were obtained: model quantization can lead to both an increase in the percentage of recognition and a decrease. This is due to the generalization of the mathematical model. The difference in detection percentage ranges within ±1.5%, and the difference in object identification ranges within ±2%.
    2. Model quantization is only applicable for NVIDIA GPUs.
    3. The first launch of the detector with the activated quantization feature can take longer than a standard launch.
    4. If you use the GPU caching, next time the detector with quantization runs without delays.
  63. If necessary, specify the class of the detected object in the Target classes field. If you want to count and display tracks of several classes, specify them separated by a comma with a space. For example, 110.
    The numerical values of classes for the embedded neural networks: 1—Human/Human (top view), 10—Vehicle.
    Info
    titleNote

    If you specify a class/classes from the neural network and a class/classes missing from the neural network, the tracks of a class/classes from the neural network are counted and displayed (Object typeNeural network file).

    If you specify a class/classes missing from the neural network, tracks aren't counted and displayed.

  64. From the Device drop-down listIn the Device drop-down list (8), select the device on which the neural network will operate.the neural network operates: CPU, one of NVIDIA GPUs, or one of Intel GPUs. Auto (default value)—the device is selected automatically: NVIDIA GPU gets the highest priority, followed by Intel GPU, then CPU.
    Note
    titleAttention!

    We recommend using the GPU.

    It can take several minutes to launch the algorithm on the NVIDIA GPU after you apply the settings. You can use caching to speed up future launches (see Optimizing the operation of neural analytics on GPU).

  65. From the Object type drop-down list, select the object type:
    • Human—the camera is directed at a person at an angle of 100-160°;
    • Human (top-down view)—the camera is directed at a person from above at a slight angle;
    • Vehicle—the camera is directed at a vehicle at an angle of 100-160°;
    • Person and vehicle (Nano)—person and vehicle recognition, small neural network size;
    • Person and vehicle (Medium)—person and vehicle recognition, medium neural network size;
    • Person and vehicle (Large)—person and vehicle recognition, large neural network size.
      Info
      titleNote

      Neural networks are named taking into account the objects they detect. The names can include the size of the neural network (Nano, Medium, Large), which indicates the amount of consumed resources. The larger the neural network, the higher the accuracy of object recognition.

Selecting the area of interest

  1. Click the Settings button. As a result, the detection settings window opens.
    Image Added
  2. Click the Stop video button (1) in the Detection settings window to pause the playback and capture the frame of the video image.
  3. Specify the detection surveillance area on the video image:
  4. Click the Settings button (11). The Detection settings window will open.
    Image Removed
  5. Click the Stop video button to capture the video image (1).
  6. Click the Click the Area of interest button (2) to specify the area of interest. The button is highlighted in blue.Specify area on which fire/smoke recognition will be detected (3)
    Image Added
  7. On the captured frame, sequentially set the anchor points of the area in which the objects are detected by using the mouse (3). The rest of the frame is faded. If you don't specify the area of interest, the entire frame is analyzed.
    Info
    titleNote

    You can add only one area of interest. If you try to add a second area, the first one is deleted.

    To delete an area, click the Image Added button to the right of the Area of interest button.

  8. Click the OK
  9.  button
  10. button (4) to save the detector settings and return to the settings panel of the Neurocounter object.
  11. Click the
  12. Apply button (12)
  13. Apply button to save the changes.

Configuring the Neurocounter module is complete.