diff --git a/models/刚木_zh_raspberry-pi_v3_0_0/LICENSE.txt b/models/刚木_zh_raspberry-pi_v3_0_0/LICENSE.txt new file mode 100644 index 0000000..74a468f --- /dev/null +++ b/models/刚木_zh_raspberry-pi_v3_0_0/LICENSE.txt @@ -0,0 +1 @@ +A copy of license terms is available at https://picovoice.ai/docs/terms-of-use/ \ No newline at end of file diff --git a/models/刚木_zh_raspberry-pi_v3_0_0/刚木_zh_raspberry-pi_v3_0_0.ppn b/models/刚木_zh_raspberry-pi_v3_0_0/刚木_zh_raspberry-pi_v3_0_0.ppn new file mode 100644 index 0000000..ed5881f Binary files /dev/null and b/models/刚木_zh_raspberry-pi_v3_0_0/刚木_zh_raspberry-pi_v3_0_0.ppn differ diff --git a/models/哔卡_zh_raspberry-pi_v3_0_0/LICENSE.txt b/models/哔卡_zh_raspberry-pi_v3_0_0/LICENSE.txt new file mode 100644 index 0000000..74a468f --- /dev/null +++ b/models/哔卡_zh_raspberry-pi_v3_0_0/LICENSE.txt @@ -0,0 +1 @@ +A copy of license terms is available at https://picovoice.ai/docs/terms-of-use/ \ No newline at end of file diff --git a/models/哔卡_zh_raspberry-pi_v3_0_0/哔卡_zh_raspberry-pi_v3_0_0.ppn b/models/哔卡_zh_raspberry-pi_v3_0_0/哔卡_zh_raspberry-pi_v3_0_0.ppn new file mode 100644 index 0000000..f2be624 Binary files /dev/null and b/models/哔卡_zh_raspberry-pi_v3_0_0/哔卡_zh_raspberry-pi_v3_0_0.ppn differ diff --git a/models/星云_zh_raspberry-pi_v3_0_0/LICENSE.txt b/models/星云_zh_raspberry-pi_v3_0_0/LICENSE.txt new file mode 100644 index 0000000..74a468f --- /dev/null +++ b/models/星云_zh_raspberry-pi_v3_0_0/LICENSE.txt @@ -0,0 +1 @@ +A copy of license terms is available at https://picovoice.ai/docs/terms-of-use/ \ No newline at end of file diff --git a/models/星云_zh_raspberry-pi_v3_0_0/星云_zh_raspberry-pi_v3_0_0.ppn b/models/星云_zh_raspberry-pi_v3_0_0/星云_zh_raspberry-pi_v3_0_0.ppn new file mode 100644 index 0000000..6593f66 Binary files /dev/null and b/models/星云_zh_raspberry-pi_v3_0_0/星云_zh_raspberry-pi_v3_0_0.ppn differ diff --git a/ws_client.py b/ws_client.py index 954d289..c6c4da3 100644 --- a/ws_client.py +++ b/ws_client.py @@ -49,10 +49,11 @@ if __name__ == '__main__': player = 'maixsense' elif board == 'orangepi': - keywords = ['hey google', 'ok google', '芭比'] + keywords = ['hey google', '芭比', '哔卡', '刚木', '星云'] keyword_paths = None model_path = None - keyword_paths = ["models/芭比_zh_raspberry-pi_v3_0_0/芭比_zh_raspberry-pi_v3_0_0.ppn"] + # + keyword_paths = ["models/芭比_zh_raspberry-pi_v3_0_0/芭比_zh_raspberry-pi_v3_0_0.ppn", 'models/哔卡_zh_raspberry-pi_v3_0_0/哔卡_zh_raspberry-pi_v3_0_0.ppn', 'models/刚木_zh_raspberry-pi_v3_0_0/刚木_zh_raspberry-pi_v3_0_0.ppn', 'models/星云_zh_raspberry-pi_v3_0_0/星云_zh_raspberry-pi_v3_0_0.ppn'] model_path = "models/porcupine_params_zh.pv" hd_trigger = 'button'