Giter VIP home page Giter VIP logo

python-wake-word-engine's Introduction

Python-Wake-Word-Engine

A python wake word engine made with tensorflow. This repo contains all the scripts needed to create a functioning wake word engine, it collects samples of you saying the wake word, in my case this was used to create a model for the word "Jarvis", it will then also record background audio from you. after that the audio should be preprocessed, during this step the preprocessing will take the sample audios and ofset them to make sure that the wake word is being said in many different places in the audio, it will also do something called spec augment where part of the data is destroyed in some of the audios, this will make the model more robust and reliable. you can also choose to up sample which will just duplicate some of your data set, you should only do this if you have much larger proportion of background clips than actual samples as if the dataset is biased like that the model will not learn properely you want around 1 sample for every 3 background clips. after all the clips have been preprocessed into MFCC format you can begin training, the model type is a CNN + Dense, once training is complete you will get a graph of the loss over time and the model will be saved with name WWD. Now you can inferenece the model using the inference script, all you have to do for each step i have talked about here is run the script and follow any instractions. beware if you do not provide enough samples or back ground audio that can cause the model to not work well at all, you must also provide quality data it cannot be bad quailty. in same directory as all the scripts you need to create a folder called "Data" this is where the model and preprocessed MFCC's will be saved, in the "Data" folder there should also be a folder called "Bg" and a folder called "Samples" this is where audio clips will be saved.

python-wake-word-engine's People

Contributors

luckeyduckey avatar

Watchers

Kostas Georgiou 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.