0

I've been trying to make an AR application using IBM Watson (speech to text API). Unfortunately can't configure the API in unity. After importing the SDK can't find any options for configuration. Can anyone please tell me, how can I do that?

Here are my IDE details:
unity 5.6.5f1 Personal
vuforia unity SDK

screenshot of my unity

Bo Persson
  • 90,663
  • 31
  • 146
  • 203
InoU
  • 11
  • 2

1 Answers1

1

Credential configuration menu has been deprecated since v1.0.0 of the SDK. You will need to configure the credentials manually.

void Start()
{
    Credentials credentials = new Credentials(<username>, <password>, <url>);
    SpeechToText _speechToText = new SpeechToText(credentials);
}

Please see ExampleStreaming.unity and ExampleStreaming.cs.

taj
  • 1,128
  • 1
  • 9
  • 23
  • Thanks! I'm using Microsoft Speech to Text as an alternative. But it was helpful though. – InoU May 25 '18 at 17:40