![]() ![]() Speech recognition Human voice Computer Icons Pattern recognition, others, text, hand, voice png 540x540px 9.57KB.Computer Icons Speech recognition Human voice Presentation, Head Voice, text, logo, sound png 512x512px 7.48KB.Speech recognition Human voice Computer Icons Microphone Voice command device, microphone, electronics, microphone, text png 1600x1600px 35.62KB.IBM MobileFirst Platform Foundation 8.Drones, Bots, Cognitive Apps, Image Recognition, Motion Analysis, and Photogrammetry (or, what I’ve been up to lately) November 7, 2016.Interview: Gathering & analyzing data with drones & IBM Bluemix November 18, 2016. ![]() Is that me on the company home page? January 30, 2017.Posted by andrew ApPosted in BlueMix, Cloud, Development, HTML5, IBM, JavaScript, Node.js, Watson Tags: development, html, HTML5, IBM, JavaScript, Node.js, Watson Post navigation IBM Watson Speech To Text Documentation.IBM Watson Text To Speech Documentation.IBM Watson QA Sample Documentation & Sample.Getting Web Applications on IBM Bluemix. ![]() Just setup your Bluemix app, clone the sample code, run NPM install and deploy your app to Bluemix using the Cloud Foundry CLI. You can interact with a live instance of this application at, and complete client and server side code is available at /triceam/IBMWatson-QA-Speech. Handle the form POST containing the question When we want to submit a question to the Watson QA service, you can now simply call the “ask” method on the QA service instance.īelow is my server-side code from app.js that accepts a POST submission from the browser, delegates the question to Watson, and takes the result and renders HTML using a Jade template. See the Getting Started Guide for the Watson QA Service to learn more about the wrappers for Node or Java. The code for consuming a service is now much simpler than the previous version. The credentials come from your environment configuration, then you just create instances of whichever services that you want to consume. ![]() Var speechToText = watson.speech_to_text(STT_CREDENTIALS) Var question_and_answer_healthcare = watson.question_and_answer(QA_CREDENTIALS) Var watson = require(‘watson-developer-cloud’) Using the Watson Node.js Wrapper, you can now easily instantiate Watson services in a single line of code. I updated the code from my previous example in 2 ways: 1) take advantage of the Watson Node.js Wrapper that makes interacting with Watson a lot easier and 2) to take advantage of these new services services. Once you’ve added them to your application, you can consume them easily within any of your applications. These services are available via a REST API. I simply added the Text To Speech and Speech To Text services to my existing Healthcare QA application that runs on Bluemix: IBM Bluemix Dashboard Just like the QA service, the new Text To Speech and Speech To Text services are now available in IBM Bluemix, so you can create a new application that leverages any of these services, or you can add them to any existing application. Warning: This is targeting desktop browsers – HTML5 Audio is a mess on mobile devices due to limited codec support and immature APIs. You can check where these features are supported with these links: getUserMedia If your browser doesn’t support the getUserMedia API or HTML5, then your mileage may vary. You can check out a video of it in action below: (Full source code available at the bottom of this post) So here it is: !īy leveraging the Watson services it can now run in any browser that supports getUserMedia (for speech recognition) and HTML5 (for speech playback). What’s a better way to show them off than by updating my existing app to leverage the new speech services? These two services enable you to quickly add Text-To-Speech or Speech-To-Text capability to any application. Last month the IBM Watson team released 5 new services, and guess what… Speech Recognition and Speech Synthesis are included! It’s a nice demo, but it always drove me nuts that it only worked in Chrome. Back in November I released a demo application here on my blog showing the IBM Watson QA Service for cognitive/natural language computing connected to the Web Speech API in Google Chrome to have real conversational interaction with a web application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |