config_nvdsanalytics.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. ################################################################################
  2. # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
  3. #
  4. # Permission is hereby granted, free of charge, to any person obtaining a
  5. # copy of this software and associated documentation files (the "Software"),
  6. # to deal in the Software without restriction, including without limitation
  7. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  8. # and/or sell copies of the Software, and to permit persons to whom the
  9. # Software is furnished to do so, subject to the following conditions:
  10. #
  11. # The above copyright notice and this permission notice shall be included in
  12. # all copies or substantial portions of the Software.
  13. #
  14. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  20. # DEALINGS IN THE SOFTWARE.
  21. ################################################################################
  22. # The values in the config file are overridden by values set through GObject
  23. # properties.
  24. [property]
  25. enable=1
  26. #Width height used for configuration to which below configs are configured
  27. config-width=1920
  28. config-height=1080
  29. #osd-mode 0: Dont display any lines, rois and text
  30. # 1: Display only lines, rois and static text i.e. labels
  31. # 2: Display all info from 1 plus information about counts
  32. osd-mode=2
  33. #Set OSD font size that has to be displayed
  34. display-font-size=12
  35. ## Per stream configuration
  36. [roi-filtering-stream-0]
  37. #enable or disable following feature
  38. enable=0
  39. #ROI to filter select objects, and remove from meta data
  40. roi-RF=295;643;579;634;642;913;56;828
  41. #remove objects in the ROI
  42. inverse-roi=0
  43. class-id=-1
  44. ## Per stream configuration
  45. [roi-filtering-stream-1]
  46. #enable or disable following feature
  47. enable=0
  48. #ROI to filter select objects, and remove from meta data
  49. roi-RF=295;643;579;634;642;913;56;828
  50. #remove objects in the ROI
  51. inverse-roi=0
  52. class-id=0
  53. [overcrowding-stream-1]
  54. enable=0
  55. roi-OC=0;0;579;400;642;900;0;900
  56. #no of objects that will trigger OC
  57. object-threshold=3
  58. class-id=-1
  59. [line-crossing-stream-0]
  60. enable=1
  61. #Label;direction;lc
  62. line-crossing-Exit=900;1000;850;900;300;1000;1350;800;
  63. line-crossing-Entry=750;670;800;750;300;850;1350;650
  64. #line_color=0.75;0.25;0;1
  65. class-id=0
  66. #extended when 0- only counts crossing on the configured Line
  67. # 1- assumes extended Line crossing counts all the crossing
  68. extended=0
  69. #LC modes supported:
  70. #loose : counts all crossing without strong adherence to direction
  71. #balanced: Strict direction adherence expected compared to mode=loose
  72. #strict : Strict direction adherence expected compared to mode=balanced
  73. mode=balanced
  74. [line-crossing-stream-1]
  75. enable=1
  76. #Label;direction;lc
  77. line-crossing-Exit=900;1000;850;900;300;1000;1350;800;
  78. line-crossing-Entry=750;670;800;750;300;850;1350;650
  79. class-id=0
  80. #extended when 0- only counts crossing on the configured Line
  81. # 1- assumes extended Line crossing counts all the crossing
  82. extended=1
  83. #LC modes supported:
  84. #loose : counts all crossing without strong adherence to direction
  85. #balanced: Strict direction adherence expected compared to mode=loose
  86. #strict : Strict direction adherence expected compared to mode=balanced
  87. mode=balanced
  88. [direction-detection-stream-0]
  89. enable=0
  90. #Label;direction;
  91. direction-South=284;840;360;662;
  92. direction-North=1106;622;1312;701;
  93. class-id=0