Giter Site home page Giter Site logo

tjbot-labs's Introduction

TJBot Labs

The following labs showcase the capabilities of the TJBot open-source robot. Each lab shows step-by-step instructions to use a combination of Watson services and hardware to make the robot come alive.

You can choose to either use Node-RED or Node.js to run these labs on a physical TJBot, or use the browser-based TJBot simulator to run the Node.js labs. An free IBM Cloud account is required to use the IBM Watson capabilities.

Getting Started

Node-RED

For instructions on setting up the Raspberry Pi, upgrading Node-RED, and installing the Node-RED nodes needed for these labs, please refer to this Medium post.

Node.js

These labs use the tjbot NPM library. To install the library, run the command:

npm install tjbot

Note: you may need to run the code as root so that TJBot can access the hardware.

sudo node app.js

TJBot Simulator

These labs can also be run using the online TJBot Simulator. A web-browser (Chrome, Firefox) with access to the camera, microphone, and speaker is all that's needed.

Access the simulator at ibm.biz/meet-tjbot.

Labs

Conversational Robot

Lab Resources: Node-RED | Node.js

Uses: Microphone, Speaker, Watson Speech to Text, Watson Conversation, Watson Text to Speech

Train TJBot to listen to phrases, understand natural language intents and entities, and speak out responses. Uses an example Conversation workspace that explains what the TJBot is and some of the components of the project.


Emotional Light

Lab Resources: Node-RED | Node.js

Uses: Microphone, LED, Watson Speech to Text, Watson Tone Analyzer

Train TJBot to listen to phrases and analyze the emotional tone using Watson Tone Analyzer. Depending on which emotion is most prevalent in the phrase, the LED will change to represent that emotion.


Say What I See

Lab Resources: Node-RED | Node.js

Uses: Camera, Speaker, Watson Visual Recognition, Watson Text to Speech

Train TJBot to take a photo with the Raspberry Pi, classify it with Watson Visual Recognition, and speak what objects and colors are seen with Watson Text to Speech and the speaker.

License

This code is licensed under Apache 2.0. Full license text is available in LICENSE.

tjbot-labs's People

Contributors

dyc3 avatar jeancarl avatar michellecarey avatar sfdomina avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

tjbot-labs's Issues

Watson Services Authentication

Looks like I can only use Watson Services provisioned in the Dallas location. I tried using one in Sydney but the call failed. Is it possible to update the configuration to accept a gateway url as well as the API Key so we can use the services from the closes region to our physical location?

eg the gateway for Dallas Speech to Text service is https://stream.watsonplatform.net/speech-to-text/api whereas the Sydney service it is "https://gateway-syd.watsonplatform.net/speech-to-text/api"

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.