apps with ears and eyes! build next generation apps with eyes and ears using google chrome
DESCRIPTION
Build next generation apps with eyes and ears using Google ChromeTRANSCRIPT
![Page 1: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/1.jpg)
GoogleIO @ Java Meetup Ahmedabad
Build next generation apps with eyes and ears using Google Chrome
![Page 2: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/2.jpg)
Treat your users as human!
l UX - 101
l Tools should fit human not the other way around!
![Page 3: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/3.jpg)
Now we have books on UX!
l With computers, we lost 'human touch' in interaction
l Touch screens brought it back, but frankly its not the natural way to do 'things'
![Page 4: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/4.jpg)
Let's get back to basics..
l I have to tell you something.. I will speak and you will listen.l So why it has to be different for computers?!
![Page 5: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/5.jpg)
Enter the new era!
l Now browsers can speak to you.l And browsers can hear you too!
http://updates.html5rocks.com/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API
![Page 6: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/6.jpg)
Demo time!
https://www.google.com/intl/en/chrome/demos/speech.html
![Page 7: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/7.jpg)
Do it yourself!
![Page 8: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/8.jpg)
You talk too much...
l It's time to listen..
l Yes! That's all we need!
https://translate.google.co.in/#auto/hi/Welcome%20to%20Ishi%20Systems
![Page 9: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/9.jpg)
Off-line mode too!
http://syl22-00.github.io/pocketsphinx.js/
![Page 10: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/10.jpg)
This is how translation should work!
http://www.moreawesomeweb.com/demos/speech_translate.html
![Page 11: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/11.jpg)
Command mode!
l I am married.... ammm.. Can I command my computer to do things?
https://www.talater.com/annyang/ https://github.com/TalAter/annyang
![Page 12: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/12.jpg)
But can you see me?
http://wolframhempel.github.io/photobooth-js/
![Page 13: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/13.jpg)
Ok but how its useful?
http://revealjs.herokuapp.com/
Time to demo!, again.! :-)
https://github.com/willy-vvu/reveal.js
![Page 14: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/14.jpg)
What was that?
l Magic of 'Motion detection algorithms'l Over simplified How To:
Capture video [getUserMedia()] Draw frames [ html5 <canvas> ] Run Algorithm to detect change between frames [ .js]
l If you are deeply interested Read : http://labs.littlemissrobot.com/behind-the-mirror/
http://www.adobe.com/devnet/html5/articles/javascript-motion-detection.html
![Page 15: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/15.jpg)
More!
l https://github.com/foo123/HAAR.js#live-examples Interactive Face Detection Many Faces Detection Interactive Mouth Detection
l l http://www.soundstep.com/blog/experiments/jstracking/
Motion tracking l http://www.soundstep.com/blog/experiments/jsdetection/
The Magical Xylophone
![Page 17: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/17.jpg)
Its time to...
![Page 18: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/18.jpg)
WebSpeech API fundametals
l Audio capturel Request authorizationl Audio processing pip line
Nodes (FFT , Gain, Filter...) http://chimera.labs.oreilly.com/books/1234000001552/
l Join to destination (Speakers)l + Visualizations
![Page 19: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/19.jpg)
GetUserMedia API fundamentals
l Audio + Video capturel Request authorizationl Capturel Draw (Hidden)l Analyze + Processl Re-Draw
![Page 20: Apps with Ears And Eyes! Build next generation apps with eyes and ears using Google Chrome](https://reader038.vdocuments.site/reader038/viewer/2022103111/54c6d5cc4a7959395d8b4572/html5/thumbnails/20.jpg)
And finally...
लगता� हैं� बर्फ गिगर रहैं हैं�!
https://github.com/IonicaBizau/WebcamSnowhttp://ionicabizau.net/WebcamSnow/