Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Voice Recognition Implementation
Qt 6.11 is out! See what's new in the release blog

Voice Recognition Implementation

Scheduled Pinned Locked Moved Unsolved General and Desktop
87 Posts 5 Posters 103.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Naveen_DN Naveen_D

    @mrjj Is there any algorithm for voice recognition that i can use ?

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #17

    @Naveen_D Yes, pocketsphinx for example which @mrjj already suggested. Or do you want to implement it by yourself?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    Naveen_DN 1 Reply Last reply
    1
    • jsulmJ jsulm

      @Naveen_D Yes, pocketsphinx for example which @mrjj already suggested. Or do you want to implement it by yourself?

      Naveen_DN Offline
      Naveen_DN Offline
      Naveen_D
      wrote on last edited by
      #18

      @jsulm no i will use pocketsphinx only

      Naveen_D

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #19

        Hi,

        Just in case, there's a speech recognition branch in the QtSpeech module that's current work in progress but might be interesting for you.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        2
        • Naveen_DN Offline
          Naveen_DN Offline
          Naveen_D
          wrote on last edited by
          #20

          Hello everyone

          my question is do I need to install CMU-SPHINX first and then pocketsphinx ? or there is any other way for installing pocketsphinx in ubuntu?

          Naveen_D

          mrjjM 1 Reply Last reply
          0
          • Naveen_DN Naveen_D

            Hello everyone

            my question is do I need to install CMU-SPHINX first and then pocketsphinx ? or there is any other way for installing pocketsphinx in ubuntu?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #21

            Hi
            You can try this
            Running pocketsphinx Speech Recognition on Ubuntu
            https://www.unicom.com/blog/entry/686

            Naveen_DN 1 Reply Last reply
            0
            • mrjjM mrjj

              Hi
              You can try this
              Running pocketsphinx Speech Recognition on Ubuntu
              https://www.unicom.com/blog/entry/686

              Naveen_DN Offline
              Naveen_DN Offline
              Naveen_D
              wrote on last edited by
              #22

              @mrjj i have installed cmu-sphinx and pocketsphinx using the instructions given in this link http://jrmeyer.github.io/installation/2016/01/09/Installing-CMU-Sphinx-on-Ubuntu.html is it correct ?

              If yes, where i will get the lib of this and how to use this lib to make use of voice recognition ?

              Naveen_D

              mrjjM 1 Reply Last reply
              0
              • Naveen_DN Naveen_D

                @mrjj i have installed cmu-sphinx and pocketsphinx using the instructions given in this link http://jrmeyer.github.io/installation/2016/01/09/Installing-CMU-Sphinx-on-Ubuntu.html is it correct ?

                If yes, where i will get the lib of this and how to use this lib to make use of voice recognition ?

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #23

                @Naveen_D
                It seems like a good tut.

                When you compile you will get the lib
                and this lib you will use in the real project.

                Naveen_DN 1 Reply Last reply
                1
                • mrjjM mrjj

                  @Naveen_D
                  It seems like a good tut.

                  When you compile you will get the lib
                  and this lib you will use in the real project.

                  Naveen_DN Offline
                  Naveen_DN Offline
                  Naveen_D
                  wrote on last edited by
                  #24

                  @mrjj In qt creator i need to compile?

                  one more question, since i am new i want know what this sudo make install will do ?

                  Naveen_D

                  mrjjM 1 Reply Last reply
                  0
                  • Naveen_DN Naveen_D

                    @mrjj In qt creator i need to compile?

                    one more question, since i am new i want know what this sudo make install will do ?

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #25

                    Im not sure if it comes with a .pro file?
                    Its should be clear from build instructions what to do
                    on each platform.

                    sudo make install
                    That will copy the "result" (exe, .a ) to a place so its installed.

                    mrjjM 1 Reply Last reply
                    1
                    • mrjjM mrjj

                      Im not sure if it comes with a .pro file?
                      Its should be clear from build instructions what to do
                      on each platform.

                      sudo make install
                      That will copy the "result" (exe, .a ) to a place so its installed.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #26

                      @mrjj

                      The tut you found is not Qt related so its with normal linux toolchain
                      for CMU-Sphinx.

                      He starts with
                      "When I installed SPHINX for the first time in September 2015, it was not a fun experience."

                      So be prepared to really read what he does and read docs for it. its not trivial to build.

                      Naveen_DN 1 Reply Last reply
                      1
                      • mrjjM mrjj

                        @mrjj

                        The tut you found is not Qt related so its with normal linux toolchain
                        for CMU-Sphinx.

                        He starts with
                        "When I installed SPHINX for the first time in September 2015, it was not a fun experience."

                        So be prepared to really read what he does and read docs for it. its not trivial to build.

                        Naveen_DN Offline
                        Naveen_DN Offline
                        Naveen_D
                        wrote on last edited by
                        #27

                        @mrjj I am totally confused regarding this, what i need to do for pocketsphinx so that i can use it in qt for voice recognition in ubuntu?

                        Naveen_D

                        1 Reply Last reply
                        0
                        • mrjjM Offline
                          mrjjM Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on last edited by
                          #28

                          First you get it to build then
                          use in Qt. its in 2 steps.
                          You really MUST read docs slow and carefully ,
                          else u miss a step and it wont work.

                          So first step is to get it to build using the tuts.

                          Naveen_DN 2 Replies Last reply
                          2
                          • mrjjM mrjj

                            First you get it to build then
                            use in Qt. its in 2 steps.
                            You really MUST read docs slow and carefully ,
                            else u miss a step and it wont work.

                            So first step is to get it to build using the tuts.

                            Naveen_DN Offline
                            Naveen_DN Offline
                            Naveen_D
                            wrote on last edited by
                            #29

                            @mrjj what ever now i have installed pocketsphinx...can i use it in qt o not that em not clear ? anyhow its external lib rite i can use the .so file of pocketsphinx ?

                            Naveen_D

                            1 Reply Last reply
                            0
                            • mrjjM mrjj

                              First you get it to build then
                              use in Qt. its in 2 steps.
                              You really MUST read docs slow and carefully ,
                              else u miss a step and it wont work.

                              So first step is to get it to build using the tuts.

                              Naveen_DN Offline
                              Naveen_DN Offline
                              Naveen_D
                              wrote on last edited by
                              #30

                              @mrjj any links where i can get the tut regarding this to get it build ??

                              Naveen_D

                              1 Reply Last reply
                              0
                              • mrjjM Offline
                                mrjjM Offline
                                mrjj
                                Lifetime Qt Champion
                                wrote on last edited by
                                #31

                                The tut you found seemed good?
                                http://jrmeyer.github.io/installation/2016/01/09/Installing-CMU-Sphinx-on-Ubuntu.html

                                So if you have build the so files you are to use them
                                This part mostly fails due to paths so make sure u check.

                                You can open .pro file then, in open file, right click and select
                                Add library. Fill it out and make sure!! its correct.
                                Linux lib, shared etc.

                                http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html

                                Then you should be able to link against it.

                                1 Reply Last reply
                                1
                                • mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #32

                                  https://github.com/cmusphinx/pocketsphinx

                                  Same story with pocket

                                  http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html

                                  also MAKE 100% sure you did as it says

                                  "Prerequisites

                                  You must have SphinxBase, which you can download from http://cmusphinx.sourceforge.net. Download and unpack it to the same parent directory as PocketSphinx, so that the configure script and project files can find it. On Windows, you will need to rename 'sphinxbase-X.Y' (where X.Y is the SphinxBase version number) to simply 'sphinxbase' for this to work."

                                  Naveen_DN 1 Reply Last reply
                                  1
                                  • mrjjM mrjj

                                    https://github.com/cmusphinx/pocketsphinx

                                    Same story with pocket

                                    http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html

                                    also MAKE 100% sure you did as it says

                                    "Prerequisites

                                    You must have SphinxBase, which you can download from http://cmusphinx.sourceforge.net. Download and unpack it to the same parent directory as PocketSphinx, so that the configure script and project files can find it. On Windows, you will need to rename 'sphinxbase-X.Y' (where X.Y is the SphinxBase version number) to simply 'sphinxbase' for this to work."

                                    Naveen_DN Offline
                                    Naveen_DN Offline
                                    Naveen_D
                                    wrote on last edited by
                                    #33

                                    @mrjj i want to attach the screen shot of what files i have got after running the steps in that link http://jrmeyer.github.io/installation/2016/01/09/Installing-CMU-Sphinx-on-Ubuntu.html for both sphinxbase and pocketsphinx but i qm not able to do that...how can we attach the screen shots here ???

                                    Naveen_D

                                    1 Reply Last reply
                                    0
                                    • mrjjM Offline
                                      mrjjM Offline
                                      mrjj
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #34

                                      Use external site like postimage.org and paste link here or use
                                      ![]( direct link here )

                                      Naveen_DN 1 Reply Last reply
                                      0
                                      • mrjjM mrjj

                                        Use external site like postimage.org and paste link here or use
                                        ![]( direct link here )

                                        Naveen_DN Offline
                                        Naveen_DN Offline
                                        Naveen_D
                                        wrote on last edited by
                                        #35

                                        @mrjj after running this commands
                                        $ ./configure
                                        $ make clean all
                                        $ make check
                                        $ sudo make install

                                        for both pocketsphinx and sphinxbase, what i need to do ????

                                        Naveen_D

                                        1 Reply Last reply
                                        0
                                        • mrjjM Offline
                                          mrjjM Offline
                                          mrjj
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #36

                                          Well if all works and says no "error" of any kind,
                                          I would try one of the existing examples
                                          and see if it works.

                                          Then I would start think about how to use it in Qt.

                                          Naveen_DN 1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved