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.yml 687 B

123456789101112131415161718192021222324252627282930313233
  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/20
  7. outputs:
  8. - image
  9. env:
  10. CAPTURE_PATH: 0
  11. IMAGE_WIDTH: 640
  12. IMAGE_HEIGHT: 480
  13. - id: object-detection
  14. build: pip install ../../node-hub/dora-yolo
  15. path: dora-yolo
  16. inputs:
  17. image:
  18. source: camera/image
  19. queue_size: 1
  20. outputs:
  21. - bbox
  22. env:
  23. MODEL: yolov8n.pt
  24. - id: plot
  25. build: pip install ../../node-hub/opencv-plot
  26. path: opencv-plot
  27. inputs:
  28. image:
  29. source: camera/image
  30. queue_size: 1
  31. bbox: object-detection/bbox