config.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. {
  2. "alarm_classes": [
  3. "bicycle",
  4. "car",
  5. "motorcycle",
  6. "bus",
  7. "truck",
  8. "train"
  9. ],
  10. "alarm_retention_days": 30,
  11. "app_name": "钢包工位视频监测系统",
  12. "auto_reboot": {
  13. "cycle": 1,
  14. "enabled": false,
  15. "time": "03:30"
  16. },
  17. "buckets": [
  18. {
  19. "code_x": "00000001",
  20. "code_y": "",
  21. "description": "1号工位",
  22. "id": 1,
  23. "left_camera": {
  24. "topic": "",
  25. "url": "rtsp://admin:hd135792468@192.168.1.121:554/Streaming/Channels/101"
  26. },
  27. "right_camera": {
  28. "topic": "",
  29. "url": "rtsp://admin:hd135792468@192.168.1.122:554/Streaming/Channels/101"
  30. }
  31. },
  32. {
  33. "code_x": "00000002",
  34. "code_y": "",
  35. "description": "2号工位",
  36. "id": 2,
  37. "left_camera": {
  38. "topic": "",
  39. "url": "rtsp://admin:hd135792468@192.168.1.123:554/Streaming/Channels/101"
  40. },
  41. "right_camera": {
  42. "topic": "",
  43. "url": "rtsp://admin:hd135792468@192.168.1.124:554/Streaming/Channels/101"
  44. }
  45. }
  46. ],
  47. "conf_thresh": 0.3499999940395355,
  48. "det_core_mask": 2,
  49. "enable_bucket": false,
  50. "fall_frames": 1,
  51. "fall_relays": [
  52. "y01"
  53. ],
  54. "fall_thresh": 0.5,
  55. "fence_file": "config/fences.json",
  56. "grid_output": false,
  57. "hdmi_fullscreen": true,
  58. "hdmi_grid_cols": 0,
  59. "idle_timeout": 5,
  60. "input_size": 640,
  61. "modbus": {
  62. "frequency": 100,
  63. "ip": "192.168.1.200",
  64. "port": 502,
  65. "stability_count": 3
  66. },
  67. "model_path": "models/yolov5s_rk3588_int8.rknn",
  68. "module_type": "RFID",
  69. "nms_thresh": 0.45,
  70. "pose_absent_sec": 30,
  71. "pose_alarm_classes": [
  72. "person"
  73. ],
  74. "pose_conf_thresh": 0.35,
  75. "pose_core_mask": 1,
  76. "pose_crouch": true,
  77. "pose_enabled": true,
  78. "pose_exclude_zones": {
  79. "0": [
  80. [
  81. 0,
  82. 100,
  83. 160,
  84. 450
  85. ]
  86. ]
  87. },
  88. "pose_hand_raise": true,
  89. "pose_hand_to_mouth": true,
  90. "pose_input_size": 640,
  91. "pose_min_area": 3000,
  92. "pose_model_path": "models/yolov8n-pose_rk3588_fp.rknn",
  93. "pose_nms_thresh": 0.45,
  94. "pose_recline": true,
  95. "pose_sleepy": true,
  96. "pose_still": true,
  97. "pose_still_sec": 15,
  98. "relay": {
  99. "alarm_max_sec": 30,
  100. "aliases": {
  101. "x1": "大门雷达",
  102. "y01": "警示灯",
  103. "y02": "声光报警器"
  104. },
  105. "device_addr": 1,
  106. "di_bindings": {
  107. "x1": [
  108. "y02"
  109. ]
  110. },
  111. "host": "192.168.1.253",
  112. "port": 1030,
  113. "pulse_sec": 3,
  114. "rearm_sec": 10,
  115. "y_config": [
  116. {
  117. "channel": "y01",
  118. "interval_sec": 1.0,
  119. "mode": "normal"
  120. },
  121. {
  122. "channel": "y02",
  123. "interval_sec": 1.0,
  124. "mode": "normal"
  125. },
  126. {
  127. "channel": "y03",
  128. "interval_sec": 1.0,
  129. "mode": "normal"
  130. },
  131. {
  132. "channel": "y04",
  133. "interval_sec": 0.3,
  134. "mode": "normal"
  135. },
  136. {
  137. "channel": "y05",
  138. "interval_sec": 1.0,
  139. "mode": "normal"
  140. },
  141. {
  142. "channel": "y06",
  143. "interval_sec": 1.0,
  144. "mode": "normal"
  145. },
  146. {
  147. "channel": "y07",
  148. "interval_sec": 1.0,
  149. "mode": "normal"
  150. },
  151. {
  152. "channel": "y08",
  153. "interval_sec": 0.3,
  154. "mode": "normal"
  155. }
  156. ]
  157. },
  158. "rfid": {
  159. "ip": "192.168.100.113",
  160. "port": 60000,
  161. "stability_count": 3,
  162. "stability_time": 5
  163. },
  164. "rtsp": [
  165. {
  166. "id": 0,
  167. "name": "121",
  168. "url": "rtsp://admin:hd135792468@192.168.1.121:554/Streaming/Channels/102"
  169. },
  170. {
  171. "id": 1,
  172. "name": "122",
  173. "url": "rtsp://admin:hd135792468@192.168.1.122:554/Streaming/Channels/102"
  174. },
  175. {
  176. "id": 2,
  177. "name": "3",
  178. "url": "rtsp://admin:hd135792468@192.168.1.123:554/Streaming/Channels/102"
  179. },
  180. {
  181. "id": 3,
  182. "name": "4",
  183. "url": "rtsp://admin:hd135792468@192.168.1.124:554/Streaming/Channels/102"
  184. },
  185. {
  186. "id": 4,
  187. "name": "5",
  188. "url": "rtsp://admin:hd135792468@192.168.1.125:554/Streaming/Channels/102"
  189. },
  190. {
  191. "id": 5,
  192. "name": "6",
  193. "url": "rtsp://admin:hd135792468@192.168.1.126:554/Streaming/Channels/102"
  194. }
  195. ],
  196. "rtsp_timeout": 10,
  197. "skip_frames": 9,
  198. "steel_output": false,
  199. "target_enabled": false,
  200. "web_auth": {
  201. "password": "admin",
  202. "username": "admin"
  203. },
  204. "web_port": 8080
  205. }