Code Monkey home page Code Monkey logo

spoken-command-recognition's Introduction

Spoken Command Recognition

This project was a speech processing course exercise in my university. It uses HMM (hidden markov model) to recognize speech.

Tested with Python 3.7.6

How to use:

1.First you need some voice samples with .wav format for every word you want to recognize. Create a folder named dataset (you can change folder names in constants) in the project root directory. Create a folder for each word and put your samples inside that folder. For instance if you have two words like music and telegram, then you must create a folder within dataset folder and put your voice samples inside folders named music and telegram.

2.Now you need to run train.py to start the training process. It will look for folders in dataset and create a model for each word inside another folder called models. Under the hood, it will extract features of every sample using mfcc, mfcc delta, mfcc delta-delta, zero cross rating and energy.

3.Create a folder named recognize. Finally, you can run recognize.py to start recognition process. Just copy your voice sample inside the folder.

spoken-command-recognition's People

Contributors

mohammadrezza avatar

Stargazers

Parham Heidari avatar Moein Saadati avatar

Watchers

James Cloos avatar  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.