File size: 1,329 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
nodes:
  # - id: plot
  #   custom:
  #     source: dora-rerun
  #     inputs:
  #       image: webcam/image
  #       textlog_whisper: whisper/text
  #       textlog_vlm: bunny/speak
  #     envs:
  #       IMAGE_WIDTH: 1280
  #       IMAGE_HEIGHT: 720
  #       IMAGE_DEPTH: 3
  #       RERUN_MEMORY_LIMIT: 10%

  - id: bunny
    operator:
      source: /root/miniconda3/envs/idefices2/bin/python
      python: bunny_demo.py
      inputs: 
        image:
          source: webcam/image
          queue_size: 1
        text: whisper/text
      outputs:
        - speak
        - control
  
  - id: robot
    custom:
      source: /root/miniconda3/envs/robomaster/bin/python
      args: robot.py 
      inputs:
        control: bunny/control
        led: reload/led

  - id: webcam
    custom:
      source: opencv_stream.py
      outputs:
        - image

  - id: whisper
    custom:
      source: whisper_op.py
      inputs:
        audio: dora/timer/millis/1000
      outputs:
        - text

  - id: parler
    operator:
      source: /root/miniconda3/envs/idefices2/bin/python
      python:  parler_op.py
      inputs:
        text: 
          source: bunny/speak
          queue_size: 1
  
  - id: reload
    operator:
      python: reload.py
      inputs: 
        image: dora/timer/millis/500
      outputs:
        - led