Giter VIP home page Giter VIP logo

ovos-ww-plugin-snowboy's Introduction

Description

Mycroft/OpenVoiceOS wake word plugin for Snowboy

Install

pip install ovos-ww-plugin-snowboy

Configuration

Each wake word can included several snowboy models, if any of them fires a detection is considered

TIP: you can use this to train a model for each speaker in your house

Add the following to your hotwords section in mycroft.conf

  "hotwords": {
    "my_word": {
        "module": "ovos-ww-plugin-snowboy",
        "models": [
            {"sensitivity": 0.5, "model_path": "path/to/first.pmdl"},
            {"sensitivity": 0.5, "model_path": "path/to/second.pmdl"},
            {"sensitivity": 0.5, "model_path": "path/to/third.pmdl"}
         ]
    }
  }

Then select what wakeword to use

 "listener": {
      "wake_word": "my_word"
 }
 

Bundled wakeword models

All these are bundled with this plugin, they are universal models .umdl trained by snowboy and should have a good accuracy

  "hotwords": {
    "alexa": {
        "module": "ovos-ww-plugin-snowboy",
        "apply_frontend": true,
        "models": [
            {"sensitivity": 0.6, "model_path": "alexa.umdl"}
         ]
    },
    "hey_extreme": {
        "module": "ovos-ww-plugin-snowboy",
        "apply_frontend": true,
        "models": [
            {"sensitivity": 0.6, "model_path": "hey_extreme.umdl"}
         ]
    },
    "computer": {
        "module": "ovos-ww-plugin-snowboy",
        "apply_frontend": true,
        "models": [
            {"sensitivity": 0.6, "model_path": "computer.umdl"}
         ]
    },
    "jarvis": {
        "module": "ovos-ww-plugin-snowboy",
        "apply_frontend": true,
        "models": [
            {"sensitivity": [0.8, 0.8],"model_path": "jarvis.umdl"}
         ]
    },
    "snowboy": {
        "module": "ovos-ww-plugin-snowboy",
        "models": [
            {"sensitivity": 0.5, "model_path": "snowboy.umdl"}
         ]
    },
    "smart_mirror": {
        "module": "ovos-ww-plugin-snowboy",
        "models": [
            {"sensitivity": 0.5, "model_path": "smart_mirror.umdl"}
         ]
    },
    "subex": {
        "module": "ovos-ww-plugin-snowboy",
        "apply_frontend": true,
        "models": [
            {"sensitivity": 0.5, "model_path": "subex.umdl"}
         ]
    },
    "neoya": {
        "module": "ovos-ww-plugin-snowboy",
        "apply_frontend": true,
        "models": [
              {"sensitivity": [0.7, 0.7], "model_path": "neoya.umdl"}
         ]
    },
    "view_glass": {
        "module": "ovos-ww-plugin-snowboy",
        "apply_frontend": true,
        "models": [
              {"sensitivity": 0.7, "model_path": "view_glass.umdl"}
         ]
    }
  }

Training your own wake word

You can use the following public instances to train and download your model:

Alternatively you can spin up a docker container locally, this only works in x86

docker run -it -p 8000:8000 rhasspy/snowboy-seasalt

then navigate to http://localhost:8000

training source code

ovos-ww-plugin-snowboy's People

Contributors

hanzala123 avatar jarbasal avatar neonjarbas avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ovos-ww-plugin-snowboy's Issues

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.