ESP-SR 语音识别框架
Go to file
2024-01-03 10:56:42 +08:00
.github/workflows ci: Add github upload component action 2022-12-14 13:57:49 +08:00
ci remove necessary configuration files to build documentation 2022-12-19 14:07:28 +08:00
docs Merge branch 'feat/add_nsnet1' into 'master' 2023-11-21 16:23:34 +08:00
esp-tts feat(tts): Support esp32c6 2023-09-11 15:35:31 +08:00
include esp32 include bug fixed 2023-11-21 14:27:14 +08:00
lib bugfix: Fix wrong format of multinet2 output 2023-11-21 19:45:37 +08:00
model Update alexa wakenet9 model 2023-12-28 14:45:14 +08:00
src bugfix: Fix wrong format of multinet2 output 2023-11-21 19:45:37 +08:00
test_apps modify pytest timeout 2023-11-21 15:13:58 +08:00
tool Fix some typos 2023-03-07 14:23:11 +08:00
.gitignore Add target test for esp-tts 2023-07-14 16:21:16 +08:00
.gitlab-ci.yml Update doc ci 2023-09-14 19:52:48 +08:00
CHANGELOG.md doc: Update README 2023-12-28 15:30:34 +08:00
CMakeLists.txt feat: use default sdkconfig path 2023-12-06 11:34:25 +08:00
component.mk bugfix: Add src/include path in component.mk 2022-08-17 20:57:55 +08:00
conftest.py feat: Add ci to test all API of multinet, wakenet and afe 2023-07-12 14:15:29 +08:00
idf_component.yml Release esp-sr v1.6.0 2023-11-27 16:03:21 +08:00
Kconfig.projbuild Add Hey Willow model: wn9_heywillow_tts 2023-12-28 14:43:30 +08:00
LICENSE add README 2019-08-06 12:01:02 +08:00
pytest.ini feat: Add ci to test all API of multinet, wakenet and afe 2023-07-12 14:15:29 +08:00
README.md doc: Update README 2023-12-28 15:30:34 +08:00

ESP-SR Speech Recognition Framework

Documentation Status Component Registry

Espressif ESP-SR helps users build AI speech solutions based on ESP32 or ESP32-S3 chips.

Overview

ESP-SR framework includes the following modules:

These algorithms are provided in the form of a component, so they can be integrated into your projects with minimum effort.

ESP32-S3 is recommended, which supports AI instructions and larger, high-speed octal SPI PSRAM. The new algorithms will no longer support ESP32 chips.

Wake Word Engine

Espressif wake word engine WakeNet is specially designed to provide a high performance and low memory footprint wake word detection algorithm for users, which enables devices always listen to wake words, such as “Alexa”, “Hi,lexin” and “Hi,ESP”.

Espressif has not only provided an official wake word "Hi,Lexin","Hi,ESP" to the public for free, but also allows customized wake words. For details on how to customize your own wake words, please see Espressif Speech Wake Words Customization Process or Training Wake Words by TTS sample.

The following wake words are supported in esp-sr:

wake words ESP32 ESP32-S3
Hi,乐鑫 wn5_hilexin, wn5_hilexinX3 wn9_hilexin
你好小智 wn5_nihaoxiaozhi,wn5_nihaoxiaozhiX3 wn9_nihaoxiaozhi
小爱同学 wn9_xiaoaitongxue
Hi,ESP wn9_hiesp
Hi,M Five wn9_himfive
Alexa wn9_alexa
Jarvis wn9_jarvis_tts
Computer wn9_computer_tts
Hey,Willow wn9_heywillow_tts

NOTE: _tts suffix means this WakeNet model is trained by TTS samples.

Speech Command Recognition

Espressif's speech command recognition model MultiNet is specially designed to provide a flexible off-line speech command recognition model. With this model, you can easily add your own speech commands, eliminating the need to train model again.

Currently, Espressif MultiNet supports up to 300 Chinese or English speech commands, such as “打开空调” (Turn on the air conditioner) and “打开卧室灯” (Turn on the bedroom light).

The following MultiNet models are supported in esp-sr:

language ESP32 ESP32-S3
Chinese mn2_cn mn5q8_cn, mn6_cn, mn7_cn
English mn5q8_en, mn6_en, mn7_en

Audio Front End

Espressif Audio Front-End AFE integrates AEC (Acoustic Echo Cancellation), VAD (Voice Activity Detection), BSS (Blind Source Separation) and NS (Noise Suppression).

Our two-mic Audio Front-End (AFE) have been qualified as a “Software Audio Front-End Solution” for Amazon Alexa Built-in devices.

In order to achieve optimal performance: