You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

dataflow_yolo.yml 746 B

123456789101112131415161718192021222324252627282930313233343536
  1. nodes:
  2. - id: camera
  3. build: pip install ../../node-hub/opencv-video-capture
  4. path: opencv-video-capture
  5. inputs:
  6. tick: dora/timer/millis/16
  7. stop: plot/end
  8. outputs:
  9. - image
  10. env:
  11. CAPTURE_PATH: 0
  12. IMAGE_WIDTH: 640
  13. IMAGE_HEIGHT: 480
  14. - id: object-detection
  15. build: pip install ../../node-hub/ultralytics-yolo
  16. path: ultralytics-yolo
  17. inputs:
  18. image:
  19. source: camera/image
  20. queue_size: 1
  21. outputs:
  22. - bbox
  23. env:
  24. MODEL: yolov8n.pt
  25. - id: plot
  26. build: pip install ../../node-hub/opencv-plot
  27. path: opencv-plot
  28. inputs:
  29. image:
  30. source: camera/image
  31. queue_size: 1
  32. bbox: object-detection/bbox
  33. outputs:
  34. - end