dora-idefics2 / graphs /dataflow_vlm_basic.yml
haixuantao's picture
Adding policy node for controlling the robot
fe79d42
raw
history blame
941 Bytes
nodes:
### Camera
- id: plot_bot
operator:
python: ../operators/plot.py
inputs:
image: webcam/image
user_message: whisper/text
assistant_message: vlm/assistant_message
bbox: object_detection/bbox
- id: vlm
operator:
python: ../operators/idefics2_op.py
inputs:
image:
source: webcam/image
queue_size: 1
instruction: whisper/text
outputs:
- assistant_message
- id: webcam
operator:
python: ../operators/webcam.py
inputs:
tick: dora/timer/millis/50
outputs:
- image
- id: whisper
operator:
python: ../operators/whisper_op.py
inputs:
audio: dora/timer/millis/1000
outputs:
- text
- id: object_detection
operator:
python: ../operators/object_detection.py
inputs:
image: webcam/image
outputs:
- bbox