Voice recognition(Speech to Text) Implementation in Qt



  • Hello All,

    I want to implement speech to text feature in Qt, Is there any such library available in Qt? or do i need to use any external library or API?

    Thanks in Advance


  • Lifetime Qt Champion

    Hi,

    The QtSpeech module has a WOD/speech-recognition branch that you can build and test.



  • Hello @SGaist ,

    Thanks for your response, when i try to build above link in windows 10 i'm getting the following error:

    qt.speech.asr: QSpeechRecognitionManager::setGrammar()
    qt.speech.asr: QSpeechRecognitionManager::createGrammar()
    qt.speech.asr: QSpeechRecognitionManager::createGrammar()
    qml: Available plugins:
    qt.speech.asr: QSpeechRecognitionPrivate::onNotListening()
    qt.speech.asr: QSpeechRecognition::EngineInitError
    qml: Error 1: Speech recognition plugin "pocketsphinx" is not supported.
    qt.speech.asr: QSpeechRecognition::GrammarInitError
    qml: Error 4: The given engine was not properly initialized
    qt.speech.asr: QSpeechRecognition::GrammarInitError
    qml: Error 4: The given engine was not properly initialized


  • Lifetime Qt Champion

    Hi
    I wonder if you need to also install the engine?
    https://cmusphinx.github.io/wiki/download/
    Just guessing based on
    qml: Error 1: Speech recognition plugin "pocketsphinx" is not supported.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.