Porcupine (Rockchip) v3 Addon for assist pipeline - Support RK3588

Porcupine Addonv3.0.X (RK3588 Support)

Wake word detection using porcupine3

Show add-on

Hi all.

This is custom version of @chatziko chatziko/wyoming-porcupine
And originally from rhasspy/wyoming-porcupine1

Changes from @chatziko version

Support for RK3588 cpu and mayber others.
Updatet to pvporcupine 3.0.2
Updated to wyoming 1.5.3
Added armv7 (32 bits) image
Use python virtual environment

Tested on Orange PI 5 (Plus)

History:
For non-english language all others wake word addons are really bad.
Then i found Porcurpine is multi language and have a nice web api interface to make your custom wake word in your language. Great… or not?

After install i get a error: NotImplementedError: Unsupported CPU: '0xd05'
Ok no problem. I use portainer to bind custom /proc/cpuinfo with modded 0xd05 to 0xd0b.
Surprise!! Is working very well

The porcupine team.
Arter check porcupine github issues found some people asking for Rockchip support, all refused. Then i open new ticket with the message: If 0xd05 cpu code is added to the python pvporcupine all RK3588 can get is working like a raspberry pi. and get refused.

The changes needed:

         return 'cortex-a72' + arch_info
     elif "0xd0b" == cpu_part:
         return "cortex-a76" + arch_info
+    elif "0xd05" == cpu_part:
+        return "cortex-a76" + arch_info
     elif '0xc08' == cpu_part:
         return 'beaglebone' + arch_info
     elif machine == 'armv7l':

The only solution…
Make my own addon.

1 Like