diff options
author | amanarora_09 <aman.arora9848@gmail.com> | 2022-07-22 15:58:23 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-07-28 13:58:18 +0000 |
commit | eda84d25d819824d641cf89af1e4d61a5e946744 (patch) | |
tree | 38f4b7c34a5b91257518bcbcdc6b96d24f0641b2 /templates/feature/agl-offline-voice-agent/50_local.conf.inc | |
parent | f206eab5753bd9ee2d5b1126c6ec5a18e75cac89 (diff) |
meta-offline-voice-agent: Enable layer for offline voice recognition
- This enables offline voice recognition in AGL
- Can successfully run vosk API and vosk websocket server
Changes:
- Create a new layer: meta-offline-voice-recognition
- Create recipes for the the Vosk library, API, websocket server and model
- Create feature template for the layer (agl-offline-voice-agent)
- Add all required packages to IMAGE_INSTALL
- ptest enable recipe python3-vosk-api
- Few fixes
Bug-AGL: SPEC-4497
Change-Id: Icb290ceee22e2c3a51cbd67f7431701795f1201b
Signed-off-by: amanarora_09 <aman.arora9848@gmail.com>
Diffstat (limited to 'templates/feature/agl-offline-voice-agent/50_local.conf.inc')
-rw-r--r-- | templates/feature/agl-offline-voice-agent/50_local.conf.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/feature/agl-offline-voice-agent/50_local.conf.inc b/templates/feature/agl-offline-voice-agent/50_local.conf.inc new file mode 100644 index 00000000..581ad978 --- /dev/null +++ b/templates/feature/agl-offline-voice-agent/50_local.conf.inc @@ -0,0 +1,14 @@ +# agl-offline-voice-agent + +FORTRAN:forcevariable = ",fortran" +RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath" + +# FIXME check if needed and/or submit upstream +BBCLASSEXTEND:pn-python3-charset-normalizer = "native nativesdk" + +IMAGE_INSTALL:append = " python3-vosk-api vosk-kaldi vosk vosk-server python3-vosk-websocket-server python3-sounddevice ptest-runner" + +PREFERRED_PROVIDER_virtual/vosk-model ?= "vosk-model-small-en-us" + +DISTRO_FEATURES:append = " ptest" +EXTRA_IMAGE_FEATURES += "ptest-pkgs" |