Giter Site home page Giter Site logo

subburajs / speech-to-sign-language-translator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anuragk240/speech-to-sign-language-translator

0.0 1.0 0.0 22.52 MB

Convert English Speech into American Sign Language using Google Cloud APIs and play animations for the gesture in Blender Game Engine (Blender 2.79).

Python 100.00%

speech-to-sign-language-translator's Introduction

Speech-to-Sign-Language-Translator

Instructions

  1. Install blender 2.79.
  2. Set Path variable for python distribution present inside blender (\Your installation directory\Blender Foundation\Blender\2.79\python\bin). Install pip for this python distribution from here and set path variable also.
  3. Install and setup ffmpeg from here. Not required now, instead importing pydub.
  4. Install python dependecies using pip: pydub, pyaudio, google-cloud-speech, google-cloud-language etc.
  5. Congifure API Key for google cloud services. You might have to create a new project and enable google speech and language api in googlecloud console, then create and download a json credential file and set "json_key_file" in startup.py to the path to json credential file. Detailed instructions here.
  6. Run animationData.py as script inside blender. It generates some meta-data used in animating sign glosses.
  7. Run .blend file inside model folder.

Additional

  1. Use python 3.5.3 so that code is compatible with blender 2.79.
  2. fmpeg required for converting wav to flac. Install ffmpeg first and add it to environment variables else errors will occur.
  3. .raw & .flac are the only audio file accepted for text transalation by the API.
  4. Works correctly for first time in game engine after that errors occur because python cahces imported modules. Hence we need to restart blender everytime to delete cached imports.

speech-to-sign-language-translator's People

Contributors

anuragk240 avatar varun95 avatar

Watchers

James Cloos 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.