File size: 1,302 Bytes
034b730
533dd7a
 
 
034b730
 
533dd7a
 
 
 
 
 
 
034b730
533dd7a
034b730
533dd7a
034b730
 
 
 
533dd7a
034b730
533dd7a
 
034b730
533dd7a
 
 
 
034b730
533dd7a
9b97c01
533dd7a
 
 
 
034b730
 
810a70f
fe79d42
533dd7a
 
fe79d42
 
 
 
 
533dd7a
fe79d42
533dd7a
fe79d42
533dd7a
 
9b97c01
 
 
 
 
 
 
 
 
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
nodes:
  - id: plot
    custom:
      source: dora-rerun
      inputs:
        image: webcam/image
        textlog_whisper: whisper/text
        textlog_vlm: idefics2/speak
      envs:
        IMAGE_WIDTH: 1280
        IMAGE_HEIGHT: 720
        IMAGE_DEPTH: 3
        RERUN_MEMORY_LIMIT: 10%

  - id: idefics2
    operator:
      python: ../operators/idefics2_op_demo.py
      inputs: 
        image:
          source: webcam/image
          queue_size: 1
        text: whisper/text
      outputs:
        - speak
        - control
  
  - id: robot
    custom:
      source: /home/peter/miniconda3/envs/robomaster/bin/python
      args: ../operators/robot_minimize.py 
      inputs:
        control: idefics2/control
        led: reload/led

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

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

  - id: parler
    operator:
      python:  ../operators/parler_op.py
      inputs:
        text: 
          source: idefics2/speak
          queue_size: 1
  
  - id: reload
    operator:
      python: ../operators/reload.py
      inputs: 
        image: dora/timer/millis/500
      outputs:
        - led