Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Basic Speech Recognizer with Python

A demo implementation of voice recognition written in python(2.7) to send commands through adb in android.

The program main lib is SpeechRecognition 3.1.3 which uses Google Speech Recognition service as Speech Recognizer. The command detection is done manually using regular expressions over the text output from the Speech Recognizer.

The program works as follows:

Voice > Speech Recognition > Command Detection > Action through adb

Features

  • Send messages
  • Calls

Use

python ex.py

Voice Commands

Here we show some examples in english and spanish voice commands.

  • [Command synonimous or conjugations] [(Regular Expression)]

Spanish

  • "Llamar", "Llamando", "Llama".. ( [Ll]amar* )
  • "Mensaje"... ( [Mm]ensaje)
  • "Escribe", "Escriba", "Escribale" ... ( [Ee]scrib* )

English

  • "Call", "Calling"... ([Cc]all*)
  • "Message" ... ([Mm]essag*)
  • "Write" ... ([Ww]rit*)
  • "Tell"... ([Tt]ell*)

Example

  • Say: "Please call X (number)" or "Send x(number) message saying I love you "
  • Diga: "LLama a X(numero)" o "Envia mensaje al numero x(numero) escribe "Te amo" "

Requirements

TODO

  • Send messages via whatsapp
  • Send GeoLocation o say geolocation
  • Use wit.ai as voice interface
  • Apply software principles to the project
  • ...

About

Speech recognition using adb and Speech_recognition lib from python

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors