Picovoice / porcupine

On-device wake word detection powered by deep learning
https://picovoice.ai/
Apache License 2.0
3.69k stars 496 forks source link

RK3588 (0xd05) is 100% working #1269

Closed Al3XKOoL closed 4 months ago

Al3XKOoL commented 4 months ago

Have you checked the docs and existing issues?

SDK

Python

Porcupine package version

3.0.2

Framework version

Python 3.11

Platform

ARM Cortex-M

OS/Browser version

Ubuntu 24.04

Describe the bug

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/local/lib/python3.11/dist-packages/wyoming_porcupine/main.py", line 14, in import pvporcupine File "/usr/local/lib/python3.11/dist-packages/pvporcupine/init.py", line 12, in from ._factory import File "/usr/local/lib/python3.11/dist-packages/pvporcupine/_factory.py", line 15, in from ._util import File "/usr/local/lib/python3.11/dist-packages/pvporcupine/_util.py", line 78, in _PV_SYSTEM, _PV_MACHINE = _pv_platform() ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/pvporcupine/_util.py", line 71, in _pv_platform pv_machine = _pv_linux_machine(platform.machine()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/pvporcupine/_util.py", line 62, in _pv_linux_machine raise NotImplementedError("Unsupported CPU: '%s'." % cpu_part) NotImplementedError: Unsupported CPU: '0xd05'

In continue of https://github.com/Picovoice/porcupine/issues/1187 i hardcoded for testing on RK3588 and it's 100% working

Steps To Reproduce

bind /proc/cpuinfo with docker portainer because it's a home assistant addon.

Expected Behavior

If 0xd05 cpu code is added to the python pvporcupine all RK3588 can get is working like a raspberry pi.

laves commented 4 months ago

@Al3XKOoL - this isn't a bug. It seems you're requesting that we officially add support for a new platform. While I'm glad that your change to our Python SDK allowed your app to function on your device, adding a new official platform for us is not a trivial undertaking. This platform is not on our roadmap at this time, however, if you are an enterprise user or wish to engage with us on that level, please contact sales.

ssssssssssshuai commented 3 months ago

您好,您的这个问题解决了吗?方便交流一下?

Al3XKOoL commented 3 months ago

您好,您的这个问题解决了吗?方便交流一下?

They want we paid for this change.