Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Python Hotword Detection

Project Description

This library provides functionality for detecting a hotword in given audio file using MFCC features and Dynamic Time Warping (DTW) pattern matching algorithm.

Installation

This project is on pypi

To install from pypi:

pip install hotword_detection

From this repository:

git clone https://github.com/sakethgsharma/HotWordDetection.git
python setup.py install

Usage

Supported features:

  • Mel Frequency Cepstral Coefficients
  • Choice of selecting any suitable hot word through appropriate training paradigm
  • Supports variable sampling frequencies
  • Amplitude based Voice Activity Detector(VAD) used during recordings to remove extraneous noise
  • Personalization using automatic DTW thresholding

MFCC Features

MFCC vectors are used in this module since they are the most commonly extracted features used for speech recognition systems.

Parameter Description
alpha Parameter used in pre-emphasis filtering. Should be any value between 0 and 1.
N Number of FFT points.
fs Sampling frequency of stored audio file.
frame_dur Duration of 1 speech frame.
num_filters Number of filters used in the Mel filterbank.
lower_freq Lower frequency bound used for constructing filterbank.
upper_freq Upper frequency bound used for constructing filterbank. Should be less than fs/2.

Dynamic Time Warping

Dynamic time warping (DTW) is an algorithm for measuring similarity between two temporal sequences which may vary in speed.

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
hotword_detection-0.2.tar.gz
(6.8 kB) Copy SHA256 Hash SHA256
Source Nov 17, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting