GSoC 2022 :: Weekly Update: Week 6
Contents
This post will briefly cover:
- Learnings
- Tasks done, and those in progress
- Helpful resources
For the project proposal, visit here.
Create Recipe for python based Vosk websocket server:
GitHub Repo: https://github.com/alphacep/vosk-server/tree/master/websocket
Recipe created: python3-vosk-websocket-server_got.bb
|
|
ptest enable recipe for vosk-api:
Recipe name: python3-vosk-api_0.3.42.bb
|
|
Test the Vosk API on the AGL demo platform:
|
|
Add below 2 lines to local.conf.inc
in the feature template agl-offline-voice-agent to enable ptest and add ptest packages.
|
|
Append the ptest-runner
package to IMAGE_INSTALL:append
.
AGL server demo:
Tested on personal machine with QEMU and the AGL demo platform image: agl-demo-platform-qemux86-64.wic.vmdk
.
|
|
In another terminal, in a preferred directory, clone vosk-server git repo and copy required files to our image.
|
|
In the Image:
|
|
Changes submitted to AGL:
- Gerrit 27794: [WIP] meta-offline-voice-agent: Enable layer for offline voice recognition | https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/27794
- SPEC-4497 : [WIP] meta-offline-voice-agent layer addition
WIP and to-do’s:
- Working on QT based demo application to be used with vosk websocket server
Helpful Resources:
ptest:
- https://docs.yoctoproject.org/dev-manual/common-tasks.html#testing-packages-with-ptest
- https://wiki.yoctoproject.org/wiki/Ptest
- https://youtu.be/NRywFwe0uwU
For issues / help:
- https://stackoverflow.com/questions/46071039/an-example-of-using-files-pn
- https://stackoverflow.com/questions/48652982/bitbake-nothing-provides-error
- https://stackoverflow.com/questions/43781678/copy-some-folders-with-files-into-a-directory-in-recipe
- https://stackoverflow.com/questions/44713077/yocto-oe-runmake-failed-error-in-do-compile-from-bitbake-image
- https://stackoverflow.com/questions/29688368/bitbake-doesnt-find-newer-recipe