Skip to content

Speech recognition using webrtc for FirefoxOS

Notifications You must be signed in to change notification settings

MTco/speechrtc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpeechRTC

Speech recognition API built on top of webrtc using pocketsphinx to decode.

Demonstration:
http://www.youtube.com/watch?v=pnCRH-Iznrc
http://www.youtube.com/watch?v=cjjFvyH3kdc

Client Implementation

    var speechrtc = new SpeechRTC("en-US");
    speechrtc.gram(["Apple","Oranges","Watermelon"]);
    speechrtc.listen();
    SpeechRTC.onRecognition = function(said)
    {
      console.log( " You said "+ said );
    }

Todo

Running the server

1. Pre-requirements

- libogg
- libopus
- pocketsphinx
- nodejs
- libpthread
- g++

Compiling & installing

- Compile and install all dependecies above - Compile voiceserver

Configuring

- Configure and set the paths to models and audio storage on voiceserver

Running

- node server.js - ./voiceserver

Acknowledgments

- Steven Lee (Mozilla) - Shih-Chiang (SC) (Mozilla) - Robert O'Callahan (Mozilla) - Desigan Chinniah (Mozilla) - Randell Jesup (Mozilla) - All Mozilla Community

Author

Andre Natal
anatal@gmail.com

About

Speech recognition using webrtc for FirefoxOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 54.0%
  • C++ 22.6%
  • JavaScript 7.2%
  • Makefile 5.8%
  • Assembly 4.7%
  • D 3.7%
  • Other 2.0%