Hotword detection with Python | Software | Crax

Welcome To Crax.Pro Forum!

Check our new Marketplace at Crax.Shop

   Login! SignUp Now!
  • We are in solidarity with our brothers and sisters in Palestine. Free Palestine. To learn more visit this Page

  • Crax.Pro domain has been taken down!

    Alternatives: Craxpro.io | Craxpro.com

Hotword detection with Python

Hotword detection with Python

LV
0
 

m3uZael

Member
Joined
Jan 25, 2024
Threads
11
Likes
0
Awards
2
Credits
935©
Cash
0$
Python:
from snowboy import snowboydecoder
def detected_callback():
    print ("hotword detected")

    # do your task here or call other program.
detector = snowboydecoder.HotwordDetector("hotword.pmdl",
                    sensitivity = 0.5, audio_gain = 1)

detector.start(detected_callback)
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Top Bottom