Close

Step 2: Modifying the JavaScript

A project log for Remnesia

Frugal recognition smartglasses to help patients with memory disorders remember names #SDGclass2017

malekemoumaleke.mou 08/07/2017 at 14:310 Comments

Then, I needed to change the output of the facial recognition API from a written into an audio channel, I modified the JavaScript with a speech synthesis

var utter= new SpeechSynthesisUtterance(("cette personne est") + data.id);
          utter.voice = window.speechSynthesis.getVoices()[0];
          window.speechSynthesis.speak(utter);

Discussions