Thumbnail

IBM Watson Services

Use the IBM Watson cloud services.

+ How To Add This Control To Your Project (Click to Expand)
  1. Make sure you have the latest version of EZ-Builder installed.
  2. Select the Get button in this page to download the archive file.
  3. Double click the downloaded archive file to execute installer.
  4. The installer will add this control to EZ-Builder.
  5. Load EZ-Builder and press the Project -> Add Control button from the menu.
  6. Choose the Audio category tab.
  7. Press the IBM Watson Services icon to add the control to your project.

Manual

//Work in progress
Version 7 (2018-04-03)
======= ===========
Fix: Quotes (") in Watson Assistant text responses are replaced with (')

Version 6 (2018-04-03)
======= ===========
Added Support for Assistant (formerly known as Conversation) API.
User-inserted image

Configured with Car Demo (Workspace)
https://watson-assistant-demo.ng.bluemix.net/

User-inserted image

Manual Input control, Dialog Output, Variable results

Example: Sending a message to the Assistant API:

Code:


ControlCommand("IBM Watson Services", Message, "turn on the lights")


Added Take Photo feature
User-inserted image


Added an optional negative file parameter:

Code:


ControlCommand("IBM Watson Services", CreateClassifier, "PlayingCards", "$Classes", "$ZipFiles", "C:\Users\ptp\Pictures\My Robot Pictures\negative_images.zip")


Version 5 (2018-03-23)
======= ===========
Added Support for Visual Recognition Custom Classifiers.

Version 4 (2018-03-22)
======= ===========
Fixed: Memory leak
Added: WatsonVRCaptureId variable to the Visual Recognition

Version 3 (2018-03-19)
======= ===========
Added Watson Vision Recognition service

User-inserted image


EZ-Script example to classify a video frame (Picture)

Code:


ControlCommand("IBM Watson Services", VisualRecognition)


Variable Results (Ordered by Highest score)
User-inserted image




Version 2 (2018-02-19)
======= ===========
Added Watson Text To Speech service

Configuration: Text To Speech
User-inserted image


EZ-Script examples:

Code:


#using default(configuration) voice, desktop output
ControlCommand("IBM Watson Services", SayWait, "the lazy dog jumped over the quick brown fox")

#using voice "de-DE_DieterVoice", desktop output
ControlCommand("IBM Watson Services", SayWait, "Watson plugin sagt Hallo! mit Dieter deutscher männlicher Stimme.", "de-DE_DieterVoice")

#using voice "fr-FR_ReneeVoice", ezb port 0 output
#Note: First argument is the EZB Port
ControlCommand("IBM Watson Services", SayEZBWait, 0, "Watson plugin dit bonjour! en utilisant la voix féminine française de Renee.", "fr-FR_ReneeVoice")


Note: When the configuration is called, the plugin logs the existent models and voices.
You can use this information to pick up a specific voice name to be used in EZ-Script ControlCommand.
User-inserted image


Sample voice clips:
French Female:
fr-FR_ReneeVoice.zip

Italian Female:
it-IT_FrancescaVoice.zip

German Female:
de-DE_BirgitVoice.zip

German Male:
de-DE_DieterVoice.zip

Version 1 (2018-02-18)
======= ===========
Added Watson Speech To Text service

Configuration: first time
User-inserted image


Configuration: Adding credential details (Watson SpeechToText service)
User-inserted image


Configuration: Selecting the Speech Model and activating the SpeechToText
User-inserted image


Configuration: Default Watson before services script (Capture Script):
User-inserted image


Configuration: Default Watson after services script (Phrase Script):
User-inserted image


Listening: Checking Audio Levels
User-inserted image

Green Line = Start Threshold level
Red Line = Stop Threshold level
Background: Light red = silence mode, Light Green = speech mode

Service Request Log:
User-inserted image


SpeechToTest active:
User-inserted image


Documentation: Work in progress.