File size: 934 Bytes
b98ffbb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
nodes:
  - id: webcam
    custom:
      source: ./webcam.py
      inputs:
        tick:
          source: dora/timer/millis/10
          queue_size: 1000
      outputs:
        - image
        - text
      envs:
        IMAGE_WIDTH: 960
        IMAGE_HEIGHT: 540


  - id: object_detection
    custom:
      source: ./object_detection.py
      inputs:
        image: webcam/image
      outputs:
        - bbox
      envs:
        IMAGE_WIDTH: 960
        IMAGE_HEIGHT: 540

  - id: rerun
    custom:
      source: dora-rerun
      inputs:
        image: webcam/image
        text: webcam/text
        boxes2d: object_detection/bbox
      envs:
        IMAGE_WIDTH: 960
        IMAGE_HEIGHT: 540
        IMAGE_DEPTH: 3

  # - id: matplotlib
  #   custom:
  #     source: ./plot.py
  #     inputs:
  #       image: webcam/image
  #       # bbox: object_detection/bbox
  #     envs:
  #       IMAGE_WIDTH: 960
  #       IMAGE_HEIGHT: 540