Speech Recognition in Web Form
Now a days we use speech recognition in various handhold devices like smart phones, tablets etc. Like saying “play album” will start play your album, “open calculator” will open calculator etc.
Lets come to web forms. How about there are a search field and you are searching for contacts by saying “contacts” or filling up name field by saying “John”.
This is very helpful for inputting long sentences and difficult words.
Lets Try to Implement Such Fields which will Recognize Voice:-
Don’t worry, not a difficult one. “x-webkit-speech” will do the magic. Add “x-webkit-speech” with your input fields in this way.
<input type=”text” name=”comment” value=”” x-webkit-speech />
You are done. J You can see something like this in chrome browser. Note that I have not added speech recognition for phone field.
Have some Drawbacks:-
- This feature works only in browsers which use the webkit rendering engine (ex: Google Chrome version 11 and above). This is a very useful feature which will probably become popular in all browsers by default soon
- Need internet connection because speech recognition needs internet connection
Posted on September 19, 2013, in General, PHP and tagged Biswajit Maji, Google Chrome, Mindfire Solutions, Software Developer, Speech recognition, Speech Recognition in Web Form, Speech Technology, SpeechSynthesis, Tool Kits. Bookmark the permalink. 2 Comments.