speech-sdk
v0.0.3
Published
Smartek21 Speech SDK for browsers
Downloads
8
Maintainers
Readme
Introduction
DeepSpeech sdk for browser .
#Installation of npm package / from git repositiry
Add following the the package.json dependencies
"speech-sdk": "git+ssh://[email protected]:v3/smartek21India/IntelligentMachines/speech-sdk"
Add import statement
import * as SDK from 'speech-sdk'
Uses
let obj = new SDK.DeepSpeech(); await obj.init(); try{ obj.recordAudio(); setTimeout( async function(){ let text= await obj.stopAudio(); console.log("stop Audio resolved",text) }, 5000); }catch(err){ console.log(err) }
In a Browser, using Webpack
- run "npm run bundle" this will generate a bundle file .
- Add the generated bundle to your html page: