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_alarm_classes": [
  71. "person"
  72. ],
  73. "pose_conf_thresh": 0.35,
  74. "pose_core_mask": 1,
  75. "pose_crouch": true,
  76. "pose_enabled": true,
  77. "pose_exclude_zones": {
  78. "0": [
  79. [
  80. 0,
  81. 100,
  82. 160,
  83. 450
  84. ]
  85. ]
  86. },
  87. "pose_hand_raise": true,
  88. "pose_hand_to_mouth": true,
  89. "pose_input_size": 640,
  90. "pose_min_area": 3000,
  91. "pose_model_path": "models/yolov8n-pose_rk3588_fp.rknn",
  92. "pose_nms_thresh": 0.45,
  93. "pose_recline": true,
  94. "relay": {
  95. "alarm_max_sec": 30,
  96. "aliases": {
  97. "x1": "大门雷达",
  98. "y01": "警示灯",
  99. "y02": "声光报警器"
  100. },
  101. "device_addr": 1,
  102. "di_bindings": {
  103. "x1": [
  104. "y02"
  105. ]
  106. },
  107. "host": "192.168.1.253",
  108. "port": 1030,
  109. "pulse_sec": 3,
  110. "rearm_sec": 10,
  111. "y_config": [
  112. {
  113. "channel": "y01",
  114. "interval_sec": 1.0,
  115. "mode": "normal"
  116. },
  117. {
  118. "channel": "y02",
  119. "interval_sec": 1.0,
  120. "mode": "normal"
  121. },
  122. {
  123. "channel": "y03",
  124. "interval_sec": 1.0,
  125. "mode": "normal"
  126. },
  127. {
  128. "channel": "y04",
  129. "interval_sec": 0.3,
  130. "mode": "normal"
  131. },
  132. {
  133. "channel": "y05",
  134. "interval_sec": 1.0,
  135. "mode": "normal"
  136. },
  137. {
  138. "channel": "y06",
  139. "interval_sec": 1.0,
  140. "mode": "normal"
  141. },
  142. {
  143. "channel": "y07",
  144. "interval_sec": 1.0,
  145. "mode": "normal"
  146. },
  147. {
  148. "channel": "y08",
  149. "interval_sec": 0.3,
  150. "mode": "normal"
  151. }
  152. ]
  153. },
  154. "rfid": {
  155. "ip": "192.168.100.113",
  156. "port": 60000,
  157. "stability_count": 3,
  158. "stability_time": 5
  159. },
  160. "rtsp": [
  161. {
  162. "id": 0,
  163. "name": "121",
  164. "url": "rtsp://admin:hd135792468@192.168.1.121:554/Streaming/Channels/102"
  165. },
  166. {
  167. "id": 1,
  168. "name": "122",
  169. "url": "rtsp://admin:hd135792468@192.168.1.122:554/Streaming/Channels/102"
  170. },
  171. {
  172. "id": 2,
  173. "name": "3",
  174. "url": "rtsp://admin:hd135792468@192.168.1.123:554/Streaming/Channels/102"
  175. },
  176. {
  177. "id": 3,
  178. "name": "4",
  179. "url": "rtsp://admin:hd135792468@192.168.1.124:554/Streaming/Channels/102"
  180. },
  181. {
  182. "id": 4,
  183. "name": "5",
  184. "url": "rtsp://admin:hd135792468@192.168.1.125:554/Streaming/Channels/102"
  185. },
  186. {
  187. "id": 5,
  188. "name": "6",
  189. "url": "rtsp://admin:hd135792468@192.168.1.126:554/Streaming/Channels/102"
  190. }
  191. ],
  192. "rtsp_timeout": 10,
  193. "skip_frames": 9,
  194. "steel_output": false,
  195. "target_enabled": false,
  196. "web_auth": {
  197. "password": "admin",
  198. "username": "admin"
  199. },
  200. "web_port": 8080,
  201. "pose_sleepy": true,
  202. "pose_still": true,
  203. "pose_still_sec": 15,
  204. "pose_absent_sec": 30
  205. }