Skip to content

Commit

Permalink
moved example to top
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed Nov 25, 2024
1 parent da02a78 commit e6909bf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# ROS 2 Whisper
ROS 2 inference for [whisper.cpp](https://github.com/ggerganov/whisper.cpp).

## Example

This example shows live transcription of first minute of the 6'th chapter in ***Harry Potter and the Philosopher's Stone*** from Audible:

![harry_potter_sample](./doc/harry_potter_sample.gif)

## Build
- Install `pyaudio`, see [install instructions](https://pypi.org/project/PyAudio/).
- Build this repository, do
Expand Down Expand Up @@ -64,12 +70,6 @@ Topics of type [AudioTranscript.msg](whisper_idl/msg/AudioTranscript.msg) on `/w

Internally, the topic `/whisper/tokens` of type [WhisperTokens.msg](whisper_idl/msg/WhisperTokens.msg) is used to transfer the model output between nodes.

## Example

This example shows live transcription of first minute of the 6'th chapter in ***Harry Potter and the Philosopher's Stone*** from Audible:

![harry_potter_sample](./doc/harry_potter_sample.gif)

## Troubleshoot

- Encoder inference time: https://github.com/ggerganov/whisper.cpp/issues/10#issuecomment-1302462960

0 comments on commit e6909bf

Please sign in to comment.