Voice Recognition
-
I do not know if this is the correct area but I wonder if the QT supports voice recognition, I have a virtual Intelligence project / Virtual Assistant.
-
Hi and welcome to devnet,
There's the QtSpeech module that currently support text to speech BUT has a WIP branch for speech recognition
-
How do I install this module?
-
Clone the module from http://code.qt.io, checkout the speech-recognition branch, qmake, make, make install and you should be good to go
-
I took a git clone after which the next procedure? Excuse first time you use the 'git'
-
git clone http://code.qt.io/qt/qtspeech.git cd qtspeech git checkout wip/speech-recognition /path/to/Qt5/bin/qmake make make install
-
This post is deleted! -
/ path / to / Qt5 / bin / qmake
He gave the following error
/ path / to / Qt5 / bin / qmake: File or directory not found
-
That path is a placeholder, replace it with the current path to your installed Qt 5 qmake
-
This happened:
Can you give me examples of using the speech? Both welcome you both to sendroot @ root: / home / sky / qtspeech # make
cd src / && (test-and Makefile || /opt/Qt5.5.0/5.5/gcc_64/bin/qmake /home/sky/qtspeech/src/src.pro -o Makefile) && make -f Makefile
make [1]: Entering directory/ home / sky / qtspeech / src ' TTS cd / && (test-and Makefile || /opt/Qt5.5.0/5.5/gcc_64/bin/qmake /home/sky/qtspeech/src/tts/tts.pro -o Makefile) && make -f Makefile Project MESSAGE: perl -w /opt/Qt5.5.0/5.5/gcc_64/bin/syncqt.pl -module QtTextToSpeech -version 5.5.0 -outdir / home / sky / qtspeech / home / sky / qtspeech <srcbase> = / home / sky / qtspeech <outbase> = / home / sky / qtspeech QtTextToSpeech: created include fwd-header (s) is <srcbase> / src / tts / {qtexttospeech.h (2), qtexttospeech_global.h (1), qtexttospeech_p.h (1), qvoice.h (2), qvoice_p. h (1)} QtTextToSpeech: created version header QtTextToSpeech: created master header QtTextToSpeech: created headers.pri file Project ERROR: speech-dispatcher development package not found make [1]: ** [sub-TTS-make_first] Error 3 make [1]: Leaving directory
/ home / sky / qtspeech / src '
make: ** [sub-src-make_first] Error 2
root @ root: / home / sky / qtspeech # make install
cd src / && (test-and Makefile || /opt/Qt5.5.0/5.5/gcc_64/bin/qmake /home/sky/qtspeech/src/src.pro -o Makefile) && make -f Makefile install
make [1]: Entering directory/ home / sky / qtspeech / src ' TTS cd / && (test-and Makefile || /opt/Qt5.5.0/5.5/gcc_64/bin/qmake /home/sky/qtspeech/src/tts/tts.pro -o Makefile) && make -f Makefile install Project MESSAGE: perl -w /opt/Qt5.5.0/5.5/gcc_64/bin/syncqt.pl -module QtTextToSpeech -version 5.5.0 -outdir / home / sky / qtspeech / home / sky / qtspeech <srcbase> = / home / sky / qtspeech <outbase> = / home / sky / qtspeech Project ERROR: speech-dispatcher development package not found make [1]: ** [sub-TTS-install_subtargets] Error 3 make [1]: Leaving directory
/ home / sky / qtspeech / src '
make: ** [sub-src-install_subtargets] Error 2
root @ root: / home / sky / qtspeech # -
You are missing the dev package for speech-dispatcher