Welcome Guest Search | Active Topics | Sign In | Register

Speech Recognition on EO.WebBrowser Options
Khoa
Posted: Thursday, December 11, 2014 5:42:54 PM
Rank: Advanced Member
Groups: Member

Joined: 9/3/2014
Posts: 68
Hi,

I check EO.WebBrowser supports WebKit SpeechRecognition as part of Chromium engine. Here is the JavaScript code to test:

var recognition = new webkitSpeechRecognition();
recognition.continuous = true;
recognition.interimResults = true;
recognition.lang = 'en-US';
// Start speech recognition
recognition.start();

However, after the speech recognition starts, EO.WebBrowser does not show any kind of popup window to allow to access microphone like Chrome. I see the API is ready there but how can I use microphone to communicate with EO.WebBrowser.

Thanks.
eo_support
Posted: Thursday, December 11, 2014 5:52:47 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Khoa
Posted: Thursday, December 11, 2014 5:58:55 PM
Rank: Advanced Member
Groups: Member

Joined: 9/3/2014
Posts: 68
Hi,

I don't see the Speech API available on Google Developers Console now. Google may take this API service offline.

Thanks.
eo_support
Posted: Friday, December 12, 2014 6:08:20 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

Google has changed something. Now apparently you have to join Chromium developer group in order to use Speech API. You can search "Chromium-dev group" and you should find the group address. They also have a daily limit, so it may not work for you.

Thanks!
Khoa
Posted: Monday, December 15, 2014 10:21:45 AM
Rank: Advanced Member
Groups: Member

Joined: 9/3/2014
Posts: 68
Hi,

Without building my own web page using Chromium Web Speech API, I can use an available demo page from Google at http://www.google.com/intl/en/chrome/demos/speech.html

This link works on Chrome, but not on EO.WebBrowser. I guess it should show up Allow/Deny access dialog to have permission to use microphone. How can I have it working on EO.WebBrowser.

Thanks.
eo_support
Posted: Monday, December 15, 2014 10:28:21 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

It depends on the Google API key the application used. Google Chrome uses its own API key (most likely that key receive "special" treatment, such as no volume limit). EO.WebBrowser does not have a built-in Google API key so you must supply one. That's why you have to get one from Google first.

Thanks!
Khoa
Posted: Monday, December 15, 2014 1:43:18 PM
Rank: Advanced Member
Groups: Member

Joined: 9/3/2014
Posts: 68
It seems to work after I join Chromium-dev group to show Speech API in my Google Developers Console. Then EO.WebBrowser jumps right to use microphone without asking for permission. However, the limit of 50 requests/day is a big disappointed concern. I am thinking to use other solutions.

Thank you.
eo_support
Posted: Monday, December 15, 2014 11:25:33 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Yes. That's why we mentioned that it has a daily limit so it may not work for you in our early reply. Google controls the API so there isn't much you or us can do about this. As such if you have to use speech recognition in production, you may need to seek another solution.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.