Enable snowboy to use several wakeword models
Snowboy could use several wakeword models, not only the first one.pull/2499/head
parent
32557365da
commit
003f2920a3
|
@ -299,7 +299,7 @@ class SnowboyHotWord(HotWordEngine):
|
|||
|
||||
def found_wake_word(self, frame_data):
|
||||
wake_word = self.snowboy.detector.RunDetection(frame_data)
|
||||
return wake_word == 1
|
||||
return wake_word >= 1
|
||||
|
||||
|
||||
class PorcupineHotWord(HotWordEngine):
|
||||
|
|
Loading…
Reference in New Issue