언어 설정

Menu
Sites
Language
Speech Recognition on Samsung Gear S2

Hello,

I want to a do a sample app to test the voice recognition of samsung gear s2.

I'm looking for a sample similar to this: https://www.google.com/intl/es/chrome/demos/speech.html

I'm trying to do this in a wearable project with Tizen SDK 2.3.1, but it seems that Google API for speech recognition is not supported.

When i do this in a js file:

if ('webkitSpeechRecognition' in window) {

It works on Tizen Web Simulator, but it doesn't work on the real device Samsung Gear S2.

How could i implement speech recognition on samsung gear s2, in a Tizen Web Project?

Thank you, any advice will be appreciated.

Responses

12 댓글
Seoghyun Kang

Dear jpgpuyo,

 

If you use the "Web Speech API (W3C API)", you can use the voice recognition.

But Tizen Web Platform is supporting the W3C Web Speech API partial.

That's why we cannot use the voice recognition now :(

 

Please refer the following web page.

https://developer.tizen.org/dev-guide/2.4/org.tizen.web.apireference/html/w3c_api/w3c_api_m.html

W3C Web Speech API defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. The attributes and events currently not supported are:

  • rate, pitch, volume, voiceURI of SpeechSynthesis interface
  • onmark, onboundary of SpeechSynthesis interface

The interfaces currently not supported are:

  • SpeechRecognition interface
  • SpeechSynthesisVoiceList interface

Marco Buettner

Understand that Simulator dont use anything of the Tizen platform. The simulator is okay to check UI functions but not to test system/platform functions. Use a real device or emulator for that because it use the real Tizen platform.

The simulator supports all functions of the installed chrome version and most more than Tizen. Also u find in the documentation of the Tizen SDK more about the support W3C and Tizen APIs

Joaquim Puyo Garrido

Thanks for your replies.

I have tested on a real device and it doesn't work.

Right now, I'm doing some research about tizen hybrid applications.

I think it is possible do a web project that comunicates with STT API (Speech to Text API), that is only supported on Native Projects, but i'm looking for a easier alternative.

http:     //infidea.net/tizen-hybrid-app-tutorial/

https://developer.tizen.org/fr/development/tutorials/native-application/uix/stt?langredirect=1#create

 Is there any alternative to Web Speech API (W3C API)?

 

Marco Buettner

AFAIK there are no alternatives for Web Speech API. I think  hybrid will be so only working solution. 

Maybe Tizen will support Web Speech API completly in later version like 3.0

Sandip Patil

I am new to tizen. Are you sure that voice recognition is not supported in tizen sdk 2.3? I need voice recognition functionality for gear s2.. 

And 2.3 is latest version right?

Seoghyun Kang

Dear Sandip Patil,

 

Tizen SDK 2.3.1 is the latest version for wearable profile.

And I know it is not support the voice recognition. I did not receive any update news.

 

So we can not use the voice recognition functionality on Gear S2 in the web application.

 

Thanks.

 

 

Sandip Patil

Thanks Seoghyun..

James B

Sorry for reviving the dead thread.

Today is Feb 2017, and Gear S3 has been released.

Can I confirm whether STT supported for **native app**, or is still not supported? I'm having problem with that, here: https://developer.tizen.org/ko/forums/native-application-development/stt_eror_permission_denied

 

James B

Thanks Olivier, that's exactly the API I'm using and I keep getting STT_ERROR_PERMISSION_DENIED.

Hence my question.

Marco Buettner

Did u add "http://tizen.org/privilege/recorder" to your privileges?

James B

Yes, I already did.