GithubHelp home page GithubHelp logo

jaewon-ua / voice-it Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yassinchabeb/voice-it

1.0 0.0 0.0 51.11 MB

Playing around drones with Android's Speech-to-text & Text-to-Speech; Setting up a Wake-up-word other than OK Google, and trying to match converted text to a given Ontology

Java 100.00%

voice-it's Introduction

VOICE-IT

Playing around with Android's Speech-to-text & Text-to-Speech; Setting up a Wake-up-word other than OK Google, and trying to match converted text to a given Ontology

Demo

WHY, OH WHY

Well, one of our clients wanted a Virtual Assistant hands free to handle orders like 'Send me a bunch of PRODUCT-X next week', 'Send the same as last week' or 'Wheres my stuff?!' Kind of like Amazon's ECHO or Google HOME

Our idea was to create a 3D printed object which would hide a Raspberry PI inside who would handle voice interactions and eventually make REST calls to CRM services or whatever and then re-translate text to Speech.

As a first prototype, we set up an Android App that would do all of this, given that Android's API provides both Speech to Text an text to Speech out of the box, there's a speaker and a microphone already integrated and we wouldn't have to deal with hardware stuff from the beginning.

HOW!??!

So, we've created an Android app which has 2 steps/actions/screens: first an infinite Wake-up-word receiver (a la "OK GOOGLE") and second, a command receiver which matches recognized text to a set of given actions.

For our small prototype, we set off to send out commands to a small Drone in the form of "Hey robot -> do a long jump!/go forward a bit/turn right and spin!"

Actions were defined via an Ontology File, created via Stanford's ontology project 'PROTEGE'

Once text is recognized via Android's Speech API, we (very basically) search for actions in the Ontology which in turn replies with an API method. API method is then executed and our current implementation makes our drone move around!

Links

A basic Architecture diagram

Archi!

What's next??!

Well, there's a bunch of things we would like to do:

  • On Android, avoid the Speech recognizer dialog with button. Tried it, but it's buggy!
  • Improve time between 'recognized Wake up Word' and 'ready to receive commands'
  • Recognize natural speech and not just words Options:
  • Parse a list of actions instead of just one-at-a-time commands (Combo!)
  • Parse text and recognize actions and parameters via NLP (Natural language Processing)
  • Make everything work on a RaspberryPi!
    • Speech-to-text (offline ideally)
    • Text-to-speech
  • Use Apache Jena to parse and search through the Ontology

voice-it's People

Contributors

arguelfi avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.