alphacep / alphacep/vosk-api

Modify for recognizing specific word

Offen
#975 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
15.1k
Forks
1.8k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hello, Your api is very useful. But I want to add a few more features, can you help?
1. I want to print only when a specific word is recognized. For example, when the user says "red blue apple", I want to output the resulting text only when "blue" is included.
ex) speak : red
result : (nothing)
speak : blue
result : blue
speak: red blue apple
result: blue
I am currently using test_microphone.py of the python example, and looking inside the code, the part that outputs the result seems to be the print(rec.Result()) part. Could you please tell me how to fix it?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.