Wednesday, May 8, 2013

Speech recognition in search box in Google Chrome

HTML speech input API only works for Google Chrome. To use speech input API in search box:
1) embed the following in your site:
<form method="get" action="">
 <input type="text" name="speech" size="40" x-webkit-speech/>
 <input type="submit" value="Google Search" />
 2) The following search box will appear:

3)Only in Google Chrome, you can see a microphone icon at the end of search box
4) Click on microphone icon at the end of search box, speak to your microphone, you can see the voice volume is changing
5) Your speech will be converted to text in the search box
6) Click search.

No comments:

Post a Comment