Future versions with model training module will be maintained through a forked version here: https://github.com/seasalt-ai/snowboy
3.04k
stars
995
forks
source link
Hotword detection .pmdl downloaded with REST API seems recognize all word as my hotword #521
Open
Orma07 opened 5 years ago
Hi, I downloaded example for android, I would to add call to rest to create my own .pmdl, so I add
` class TrainingModel{ var name: String? = null var language: String? = null var age_group: String? = null var gender: String? = null var microphone: String? = "android microphone" var token: String = Constants.REST_KITT.TOKEN var voice_samples : ArrayList? = null
}
class WaveModel{ var wave : String? = null } `
and
` class Trainer(listener: ITrainerListener, isFirst : Boolean) {
} `
this how I run hotword detection:
` private fun initDetector() { AppResCopy.copyResFromAssetsToSD(fragment?.context?.applicationContext)
`
To any word pronunced result is one, for example if I recorded 3 times "hello" an I pronunce "banana" I get result == 1, have any Idea?