Closed casitelwithdean closed 1 year ago
Yes, you can refer to esp-box to switch speech commands recognition model online.
The basic steps is as follows:
char *mn_name = esp_srmodel_filter(models, ESP_MN_PREFIX, ESP_MN_ENGLISH);
or char *mn_name = esp_srmodel_filter(models, ESP_MN_PREFIX, ESP_MN_CHINESE);
to get English or Chinese model nameesp_mn_iface_t *multinet = esp_mn_handle_from_name(mn_name);
Yes, you can refer to esp-box to switch speech commands recognition model online. The basic steps is as follows:
- Select Enghlish and Chinese model in sdkconfig to load
- Use
char *mn_name = esp_srmodel_filter(models, ESP_MN_PREFIX, ESP_MN_ENGLISH);
orchar *mn_name = esp_srmodel_filter(models, ESP_MN_PREFIX, ESP_MN_CHINESE);
to get English or Chinese model name- Get multinet handle from model name by
esp_mn_iface_t *multinet = esp_mn_handle_from_name(mn_name);
- Create, Destroy or Detect by multinet handle and model name
thank u!
I am using esp32-s3,is there a way to switching of Chinese and English Speech Command Recognition online ?Thanks!