GithubHelp home page GithubHelp logo

itechdivyanshu / keyword-detection Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 36.05 MB

Keyword Detection/Spotting with pocketsphinx speech recognition engine, always listening with a trigger command: "jarvis"

License: MIT License

Python 100.00%
python3 pocketsphinx pyaudio keyword-spotting

keyword-detection's Introduction

Python Always Listening Keyword Detection

This project provides example code for device that can trigger off of a keyword that is always listening using Python. This can be used for to augment any project that requires the user to initiate any action. As an example, the phrase "Jarvis" can trigger a call to the SpeechRecognition library, where the users next sentence can be captured and parsed.

Requirements

  • Python 3.4+

     sudo apt-get install python3-pyaudio
     sudo apt-get install python3 python3-all-dev python3-pip build-essential swig git libpulse-dev libasound2-dev
     pip3 install pocketsphinx
  • Microphone

Using CMU Sphinx

The code in this repository is based on an example in the pocketsphinx GitHub repository.

pocketsphinx/swig/python/test/kws_test.py

Cross-Platform

This code has only been tested on Windows. The final goal is for this project to work out of the box on a Raspberry Pi and on Windows.

Bugs

If you run into any bugs, please create an issue on GitHub. Don't hesitate to submit bugs for the README as well! I can't promise that I will get to it quickly, but I will do my best to keep this project as bug free as possible.

License

MIT - See LICENSE

Change Log

  • Version 0.1 - Initial commit

Contributing

If you're new to contributing to Open Source on Github, this guide can help you get started. We're a warm and welcoming community of open source contributors. Please join. All types of contribution are welcome.

This repository is just a small subset of work put together by a much larger pool of voluntary efforts contributed by generous people all around the world. Reach out to us through [email protected]

keyword-detection's People

Contributors

itechdivyanshu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.