linux - Internetless vocal trigger recognition -



linux - Internetless vocal trigger recognition -

speech recognition on handheld devices triggered press of button. how go triggering speech recognition without that? raspberry pi based device intentionally not have users able interact manually - there microphone hanging out wall.

i trying implement way have understand simple trigger command initiate sequence of actions. in short, want run single .sh script whenever "hears" sound trigger. don't want understand else trigger - there no meaning has decode trigger - name of script or parameters. simple function - "hear trigger -> execute .sh script"

i've explored different options:

getting sound stream continuously sent google speech recognition service - not thought - much wasted traffic , resources

getting internetless speech recognition application continuously hear sound stream , "pick out" trigger words - that's bit improve yet pretty much waste of resources , these systems have taught sound samples - pretty much removes ability set custom names devices

use sort of pitch processing have react sequence of loud sounds - hands clapped 2 times or similar - not bad guess hands fall off after thing tested or killed family fellow member since experiment toys @ night when in beds.

whistle recognition - not much different previous alternative palms don't sore , chances survive testing if larn whistle quietly. able find article ibm on commanding computer via whistle commands - approach pretty much same local speech recognition applications teach understand different whistle sequences. however, did not understand how teach understand whistle regardless of tone.

i sort of whistle thought - seem should to the lowest degree resources hungry amongst other options - how can this?

are there other vocal triggers implemented given limited raspberry pi hardware?

mono framework can install on pi allow compile , run c# applications, , believe has back upwards for,system.speech , system.speech.recognition. can utilize these write app , specify words want hear for. write on computer , move exe pi , run microphone hanging out of pi. did similar application used socket server , sent commands way. way set commands pretty simple.

speechrecognitionengine rec = new speechrecognitionengine(new system.globalization.cultureinfo("en-us")); rec.setinputtodefaultaudiodevice(); rec.speechrecognized += speech_recognized; var c = new choices(); c.add("trigger"); var gb = new grammarbuilder(c); var g = new grammar(gb); rec.loadgrammar(g); rec.recognizeasync(recognizemode.multiple); rec.maxalternates = 0; private void speech_recognized(object speechsender, speechrecognizedeventargs e) { if(e.result.text == "trigger"){ //run script } }

linux speech-recognition speech raspberry-pi human-computer-interface

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -