GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - alexpg05/tinykw: A lightweight keyword spotting engine for Wake word detection and Voice commands

BranchesTags
Open more actions menu

Latest commit

 

History

24 Commits
24 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
ci
ci
 
 
examples
examples
 
 
libs
libs
 
 
python-binding
python-binding
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Workflow Status

TinyKW

TinyKW ("Tiny Keyword") is a lightweight, configurable, keyword spotting engine.

It can be used for Wake word detection and Voice commands, on cortex-M MCUs, ESP32, Raspberry Pi and desktops.

Installation

Precompiled binaries and headers are available under libs/.

A Python binding that closely follows the C API is also available at python-binding.

Usage

Before use, keywords must be encoded using the web encoder. The encoder outputs a binary representation ready to paste directly into the C or Python code.

#include "tinykw.h"

void on_detection(uint8_t kw_id, void* user_ctx)
{
    // called when a keyword is detected
}

tkw_context ctx;
tkw_status status = tkw_init(&ctx);

uint8_t kw_id;
status = tkw_add_keyword(keyword_bytes, detection_threshold, &kw_id, &ctx);
status = tkw_set_callback(on_detection, NULL, &ctx);
// ...
status = tkw_process_frame(samples, size, &ctx); // calls on_detection() when a keyword is detected

See examples/C and examples/Python for full examples.

Projects using TinyKW

  • stm32f411-keyword-spotting: Demo on NUCLEO-STM32F411 board.
  • esp32-s3-keyword-spotting: Demo on ESP32-S3-DevKit.

License

TinyKW is licensed under the Apache License 2.0. Please see LICENSE for details.

About

A lightweight keyword spotting engine for Wake word detection and Voice commands

voyelle.io/tinykw

Topics

cortex-mcortex-m33cortex-m4cortex-m7esp32esp32-s3keyword-spottingspeech-recognitionwake-word-detection

Resources

Readme
Apache-2.0 license
Activity

Stars

3 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.