Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Description

This is an STT plugin for OpenVoiceOS. It uses the speech recognition API of the Google Chrome browser.

The plugin ships with a bundled API key. Google stopped issuing new keys for this API (announcement), but the bundled key still works, most likely because it is also used inside Chromium itself.

A list of supported languages is in this Stack Overflow comment.

This is the same speech recognition service as the "google" module in mycroft-core. That module is supported in mycroft-core but cannot be used there, because mycroft-core cannot obtain new API keys. A pull request to fix this was proposed and blocked.

Using this plugin removes the need for a backend proxy, so latency is lower and you get more configuration options. Accuracy stays the same, since this is the same speech recognition service used by Mycroft Selene.

Install

pip install ovos-stt-plugin-chromium

Configuration

By default, the plugin uses the global language set in your OVOS configuration.

  "stt": {
    "module": "ovos-stt-plugin-chromium"
  }

Advanced configuration

  "stt": {
    "module": "ovos-stt-plugin-chromium",
    "ovos-stt-plugin-chromium": {
        "lang": "en-US",
        "pfilter": false,
        "debug": false
    }
  }
  • lang — overrides the global language. Use a code from the supported languages list.
  • pfilter — profanity filter. When true, the plugin censors profanity, showing only the first character and replacing the rest with asterisks, for example f***.
  • debug — when true, logs the confidence score and alternative transcriptions.

Docker

You can run this plugin behind ovos-stt-http-server to expose it as an HTTP STT server, without needing device pairing.

docker run -p 8080:8080 ghcr.io/openvoiceos/google-stt-proxy:master

Public instances of ovos-stt-http-server that run this plugin:

Download files

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

Source Distribution

ovos_stt_plugin_chromium-0.1.1a8.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_stt_plugin_chromium-0.1.1a8-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file ovos_stt_plugin_chromium-0.1.1a8.tar.gz.

File metadata

File hashes

Hashes for ovos_stt_plugin_chromium-0.1.1a8.tar.gz
Algorithm Hash digest
SHA256 0ee0377e784128ef14f6039c8b57fe52036b024e8bf5102520e831327c784bb1
MD5 465dbcef7da54c1dc0b48c5be93257e2
BLAKE2b-256 f0950ff8d6ca2fc1e74654ab89cad4aaca8e9c94ad3a0c0620115043cbad86a6

See more details on using hashes here.

File details

Details for the file ovos_stt_plugin_chromium-0.1.1a8-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_stt_plugin_chromium-0.1.1a8-py3-none-any.whl
Algorithm Hash digest
SHA256 b77af4d4fd16013d57ad5fbea3f24675121b37bbf8477869a80f20b8e7f79d43
MD5 36de3e756439904a9974b42c50669f45
BLAKE2b-256 92eb8a784136f7dff537f78322fcb30311346cdd44ae034ea0a8de2026533e28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page