Skip to content

Speech recognition using adb and Speech_recognition lib from python

Notifications You must be signed in to change notification settings

aqt01/speech_recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published