how to use OWW for more than one custom wakewords
Opened this issue · 1 comments
manushaanabham commented
Individually i have created two wakewords models "friend" and "mee_tra". They are working fine individually by giving the command
"python detect_from_microphone.py --model_path openwakeword/resources/mee_tra.tflite"
"python detect_from_microphone.py --model_path openwakeword/resources/friend.tflite"
As pre-trained model working for more than one keyword like alexa, hey_jarvis, weather etc..,
In similar lines, i want use these two custom wakewords for my project "friend" wakeword for activating some application and "mee_tra" for activating other application. Please help me how to do it
dscripka commented
When you load models in the Model
object, you can pass paths to multiple wakeword models.
# Instantiate the model(s)
model = Model(
wakeword_models=["path/to/model1.tflite", "path/to/model2.tflite"], # can also leave this argument empty to load all of the included pre-trained models
)