Giter VIP home page Giter VIP logo

jn7163 / vr-speech-sandbox-vive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibm/vr-speech-sandbox-vive

0.0 3.0 0.0 118.21 MB

A sample application that demonstrates how to integrate voice commands and speech recognition into a virtual reality experience.

Home Page: https://developer.ibm.com/code/journey/create-a-virtual-reality-speech-sandbox/

License: Apache License 2.0

C# 83.67% ShaderLab 14.53% HLSL 0.77% GLSL 1.04%

vr-speech-sandbox-vive's Introduction

Create voice commands for VR experiences with Watson services

In this developer journey we will create a Virtual Reality game based on Watson's Speech-to-Text and Watson's Conversation services.

In Virtual Reality, where you truly “inhabit” the space, speech can feel like a more natural interface than other methods. Providing speech controls allows developers to create more immersive experiences. The HTC Vive is the 3rd most popular head-mounted VR devices (not including Google Cardboard) and an ideal candidate for Speech interaction, selling roughly 400 thousand units in 2016.

When the reader has completed this journey, they will understand how to:

  • Add IBM Watson Speech-to-Text and Conversation to a Virtual Reality environment build in Unity.

With Watson

Want to take your Watson app to the next level? Looking to leverage Watson Brand assets? Join the With Watson program which provides exclusive brand, marketing, and tech resources to amplify and accelerate your Watson embedded commercial solution.

Included components

Featured technologies

  • Unity: A cross-platform game engine used to develop video games for PC, consoles, mobile devices and websites.

Steps

  1. Before you begin
  2. Create Bluemix services
  3. Building and Running

1. Before You Begin

2. Create Bluemix services

On your local machine:

  1. git clone https://github.com/IBM/vr-speech-sandbox-vive.git
  2. cd vr-speech-sandbox-vive

In Bluemix:

  1. Create a Speech-To-Text service instance.
  2. Create a Conversation service instance.
  3. Once you see the services in the Dashboard, select the Conversation service you created and click the "Launch Tool" button.
  4. After logging into the Conversation Tool, click the "Import" button.
  5. Import the Conversation workspace.json file located in your clone of this repository.

3. Building and Running

If you followed the previous steps you should already be inside your local clone and ready to get started running the app from Unity.

  1. git clone https://github.com/watson-developer-cloud/unity-sdk.git
  2. Open Unity and inside the project launcher select the Open button.
  3. Navigate to where you cloned this repository and open the "Creation Sandbox" directory.
  4. If prompted to upgrade the project to a newer Unity version, do so.
  5. Follow these instructions to add the Watson Unity SDK downloaded in step 1 to the project.
  6. Follow these instructions to add your Speech To Text and Conversation service credentials (located on IBM Bluemix).
  7. Select Advanced Mode in the configuration window.
  8. Click Add Variable and name your new variable ConversationV1_ID then set its value to the Workspace ID of your Conversation workspace. Variable Configuration Example You can find your workspace ID by selecting the expansion menu on your conversation workspace and selecting View details. View Details Location
  9. In the Unity editor project tab, select Assets->Scenes->MainGame->MainMenu and double click to load the scene.
  10. Press Play

Sample output

Links

License

Apache 2.0

vr-speech-sandbox-vive's People

Contributors

craigkj312 avatar stevemar avatar stevemart avatar

Watchers

 avatar  avatar  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.