capacitor-community / proposals

Plugin and platform requests ✋
74 stars 2 forks source link

Add a new plugin: Porcupine Wake Word #176

Open JulienLecoq opened 2 years ago

JulienLecoq commented 2 years ago

Plugin Request

Name: Porcupine Wake Word Package: @capacitor-community/porcupine-wake-word Current link: JulienLecoq/porcupine-wake-word

Platform(s)

The plugin should work on Android. The iOS support will be added during the next week-end. The web implementation has not yet a release date.

Existing Solutions

There are no existing solutions.

Description

This plugin is a bridge to the native SDKs provided by Picovoice on iOS, Android and Web platforms for their product called Porcupine Wake Word.

A wake word is a special word or phrase that is meant to activate a device when spoken. It is also referred to as 'hotword', 'trigger word', and 'wake up word'.

This plugin is a perfect fit to combine with the speech-recognition plugin to allow always listening feature in a power efficient manner.

:warning: Never use speech-recognition alone to mimic always listening feature: doing that will result in a very high power consumption (see: Apple documentation on their Speech native API which says in section: Create a Great User Experience for Speech Recognition):

Speech recognition places a relatively high burden on battery life and network usage.

robingenz commented 2 years ago

Great idea! I would love to see this plugin here!