Merge pull request #2499 from dalgwen/dev
Enable snowboy to use several wakeword modelspull/2501/head
commit
054498dc11
|
@ -299,7 +299,7 @@ class SnowboyHotWord(HotWordEngine):
|
||||||
|
|
||||||
def found_wake_word(self, frame_data):
|
def found_wake_word(self, frame_data):
|
||||||
wake_word = self.snowboy.detector.RunDetection(frame_data)
|
wake_word = self.snowboy.detector.RunDetection(frame_data)
|
||||||
return wake_word == 1
|
return wake_word >= 1
|
||||||
|
|
||||||
|
|
||||||
class PorcupineHotWord(HotWordEngine):
|
class PorcupineHotWord(HotWordEngine):
|
||||||
|
|
Loading…
Reference in New Issue