Ant-Brain / EfficientWord-Net

OneShot Learning-based hotword detection.
https://ant-brain.github.io/EfficientWord-Net/
Apache License 2.0
215 stars 34 forks source link

automictic wake word detect without even sound #41

Open Siyamfahad opened 11 months ago

Siyamfahad commented 11 months ago

it detecting wake word on silence , specially when i 1 times , its repeat it self twice, any solution?

TheSeriousProgrammer commented 11 months ago

This is happening because of the sliding window approach

TheSeriousProgrammer commented 11 months ago

You can controll it in the following snippet

mic_stream = SimpleMicStream(
    window_length_secs=1.5,
    sliding_window_secs=0.75,
)
Siyamfahad commented 11 months ago

thanks for your fast reply <3 @TheSeriousProgrammer which one should i increase or decrease?

TheSeriousProgrammer commented 11 months ago

You can try experimenting, in your case of repeated detection try increasing it

Siyamfahad commented 11 months ago

sliding_window_sec?

TheSeriousProgrammer commented 11 months ago

yess