GithubHelp home page GithubHelp logo

interact.ai's Introduction

interact.ai

"Society has the tendency to focus on disability rather than ability" said Rachel Kolb in her Ted talk and we are here to fix that. Ever wondered how difficult, tiring and time consuming it is for a Sign language interpreter? We provide a solution that automates this task.

Transformer text to phenome model can be found here
Text to cued python script here
Apk for the app can be found here

Why Cued Speech?

Compared to ASL, which is a language by itself, cued speech is a visual system of communication used among deaf or hard-of-hearing people. Cued Speech has different representations in the form of hand shapes for syllables in the Natural language and takes only about 20 hours to learn. Study shows that one can achieve an interpreting accuracy of ~30% with lip reading but combined with cued speech this can be increased to a mind blowing 96%.

How it works?

We first put considerable effort into learning Cued Speech. We then wrote a python library for interpretation of Cued Speech using the CMU Dictionary for English pronunciations. Given an input sentence the library will break the words into its syllables and return the corresponding Cued Speech position from the available 64 positions.

Our app records incoming voice, converts it into text and sends it to the python script running on a flask server on Google Cloud. The text is given to the library that processes it to give the corresponding cued speech position. We then use State of the Art Deep learning framework to fetch a "fake" face from thispersondoesnotexist.com and apply lip sync to it.

The lip synced video and corresponding cued speech positions then go into a simple script that animates the hand positions into the video. The video is then sent back and played in our app.

Although the library was doing a pretty good job, when given a word outside of the CMU Dictionary of pronunciation it would throw a KeyError. To fix this we trained a Transformer model on all the existing pronunciations from the CMU Dictionary to achieve State of the Art model for text to phoneme. Given a word outside of the dictionary the script would ask the model to predict the pronunciation of the new word instead.

Workflow

  1. Input speech is interpreted as text and sent to python script running on GCP.
  2. A python library takes this text and gives the corresponding Cued Speech position (Using CMU Dictionary).
  3. If the word from the sentence is not in the dictionary, a model trained on the dictionary is asked to predict the pronunciation for this new word.
  4. Text in the form of audio (using gTTS python library) along with a face of a human that does not exist is sent to a deep learning model (Wav2Lip) that animates the lip sync.
  5. Video and the corresponding positions are sent to a script that animates the hand positions into the video.
  6. The app plays the video.

Acknowledgements

  1. minGPT by karpathy
  2. Wav2Lip lipsync model
  3. Cate Calder into to cued speech

interact.ai's People

Contributors

karynaur avatar vishal-lokare avatar

Watchers

 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.