Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/minsithu/burmese-voice

A vocie command ai library for Burmese language
https://github.com/minsithu/burmese-voice

artificial-intelligence burma burmese frontend javascript machine-learning myanmar tensorflow voice-recognition

Last synced: 3 months ago
JSON representation

A vocie command ai library for Burmese language

Awesome Lists containing this project

README

        

# burmese-voice

A speech command ai library for Burmese language

Read the documentation [Here](https://burmese-voice.vercel.app/).
Download the model [Here](https://github.com/MinSiThu/burmese-voice/releases).

The library currently can classify **6** burmese words by voice and one additional noise.
The voices are
- Go (သွား)
- Stop (ရပ်)
- Left (ဘယ်)
- Right (ညာ)
- On (ဖွင့်)
- Off (ပိတ်)
- Background Noise

## Using BurmeseVoice Model

```js
let burmeseVoice;

async function main(){
const URL = "http://localhost:8000/models/"; // URL must be absolute URL
burmeseVoice = new BurmeseVoice(URL)
await burmeseVoice.load();
console.log(burmeseVoice.getLabels());
}

function init(){
burmeseVoice.listen((result)=>{
console.log(result);
const voice = burmeseVoice.getBestResult(result.scores);
console.log(voice);
});
}

function stop(){
burmeseVoice.stopListening();
}

main();
```