Skip to content

Commit

Permalink
Merge pull request #352 from tkmtnt7000/PR-add-speech-to-text-readme
Browse files Browse the repository at this point in the history
[respeaker_ros] Add documentation for displaying Japanese `/speech_to_text`
  • Loading branch information
k-okada authored Jun 27, 2022
2 parents 72d8e96 + b88d762 commit c9af824
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions respeaker_ros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ A ROS Package for Respeaker Mic Array
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
```

You can also set various parameters via `dynamic_reconfigure`.
Expand Down

0 comments on commit c9af824

Please sign in to comment.