Skip to content

Whisper C Inference Action Server for ROS 2

Notifications You must be signed in to change notification settings

NathanCorral/ros2_whisper

 
 

Repository files navigation

ROS 2 Whisper

ROS 2 inference for whisper.cpp.

Build

mkdir -p ros-ai/src && cd ros-ai/src && \
git clone https://github.com/ros-ai/ros2_whisper.git && cd .. && \
colcon build --symlink-install --cmake-args -DWHISPER_CUDA=On --no-warn-unused-cli

Demos

Run the inference action server (this will download models to $HOME/.cache/whisper.cpp):

ros2 launch whisper_bringup bringup.launch.py

Run a client node (activated on space bar press):

ros2 run whisper_demos whisper_on_key

Configure whisper parameters in whisper.yaml.

Available Actions

Action server under topic inference of type Inference.action.

Troubleshoot

About

Whisper C Inference Action Server for ROS 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 51.8%
  • Python 34.8%
  • CMake 13.4%