demo.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. models:
  2. yolo_pose_model:
  3. model_path: model/yolo11lpose.engine
  4. model_type: YOLO11POSE
  5. names:
  6. - person
  7. gpu_id: 1
  8. confidence_threshold: 0.45
  9. nms_threshold: 0.45
  10. yolo_seg_model:
  11. model_path: model/model1.engine
  12. model_type: YOLO11SEG
  13. names:
  14. - person
  15. - bicycle
  16. - car
  17. - motorcycle
  18. - airplane
  19. - bus
  20. - train
  21. - truck
  22. - boat
  23. - traffic light
  24. - fire hydrant
  25. - stop sign
  26. - parking meter
  27. - bench
  28. - bird
  29. - cat
  30. - dog
  31. - horse
  32. - sheep
  33. - cow
  34. - elephant
  35. - bear
  36. - zebra
  37. - giraffe
  38. - backpack
  39. - umbrella
  40. - handbag
  41. - tie
  42. - suitcase
  43. - frisbee
  44. - skis
  45. - snowboard
  46. - sports ball
  47. - kite
  48. - baseball bat
  49. - baseball glove
  50. - skateboard
  51. - surfboard
  52. - tennis racket
  53. - bottle
  54. - wine glass
  55. - cup
  56. - fork
  57. - knife
  58. - spoon
  59. - bowl
  60. - banana
  61. - apple
  62. - sandwich
  63. - orange
  64. - broccoli
  65. - carrot
  66. - hot dog
  67. - pizza
  68. - donut
  69. - cake
  70. - chair
  71. - couch
  72. - potted plant
  73. - bed
  74. - dining table
  75. - toilet
  76. - tv
  77. - laptop
  78. - mouse
  79. - remote
  80. - keyboard
  81. - cell phone
  82. - microwave
  83. - oven
  84. - toaster
  85. - sink
  86. - refrigerator
  87. - book
  88. - clock
  89. - vase
  90. - scissors
  91. - teddy bear
  92. - hair drier
  93. - toothbrush
  94. gpu_id: 1
  95. confidence_threshold: 0.45
  96. nms_threshold: 0.45
  97. pipelines:
  98. - pipeline_id: pipeline_0
  99. description: 处理摄像头0的视频流
  100. nodes:
  101. - node_id: src_0
  102. node_type: Source
  103. params:
  104. stream_url: rtsp://admin:yaoan1234@172.16.22.111/cam/realmonitor?channel=1&subtype=0
  105. gpu_id: 1
  106. decode_type: GPU
  107. skip_frame: 1
  108. - node_id: infer_0
  109. node_type: Inference
  110. params:
  111. model_id: yolo_pose_model
  112. - node_id: track_0
  113. node_type: Tracker
  114. params:
  115. track_name: person
  116. track_frame: 30
  117. track_distance: 30
  118. - node_id: analyze_0
  119. node_type: Analyzer
  120. params:
  121. algorithm_names:
  122. - person
  123. algorithm_params_fence:
  124. person:
  125. - x: 100
  126. y: 100
  127. - x: 100
  128. y: 200
  129. - x: 200
  130. y: 200
  131. - x: 200
  132. y: 100
  133. - node_id: draw_0
  134. node_type: Drawer
  135. params: {}
  136. - node_id: rtsp_0
  137. node_type: Recorder
  138. params:
  139. gst_pipeline: "appsrc ! queue ! videoconvert ! queue ! video/x-raw,format=I420 ! x264enc speed-preset=ultrafast bitrate=4000 tune=zerolatency key-int-max=50 ! queue ! video/x-h264,profile=baseline ! queue ! rtspclientsink location=rtsp://172.16.20.168:8554/live"
  140. fps: 25
  141. - pipeline_id: pipeline_1
  142. description: 处理摄像头1的视频流
  143. nodes:
  144. - node_id: src_1
  145. node_type: Source
  146. params:
  147. stream_url: rtsp://admin:yaoan1234@172.16.22.112/cam/realmonitor?channel=1&subtype=0
  148. gpu_id: 1
  149. decode_type: GPU
  150. skip_frame: 1
  151. - node_id: infer_1
  152. node_type: Inference
  153. params:
  154. model_id: yolo_seg_model
  155. - node_id: draw_1
  156. node_type: Drawer
  157. params:
  158. show_original_result: true
  159. - node_id: rtsp_1
  160. node_type: Recorder
  161. params:
  162. gst_pipeline: "appsrc ! queue ! videoconvert ! queue ! video/x-raw,format=I420 ! x264enc speed-preset=ultrafast bitrate=4000 tune=zerolatency key-int-max=50 ! queue ! video/x-h264,profile=baseline ! queue ! rtspclientsink location=rtsp://172.16.20.168:8554/live1"
  163. fps: 25