Adirockzz95 / Piwho

Speaker recognition library based on MARF for raspberry pi and other SBCs.
MIT License
54 stars 20 forks source link

.gzbin model not generated automatically #12

Open akshat9425 opened 6 years ago

akshat9425 commented 6 years ago

while training voice i used this code

from piwho import recognition from piwho import vad

def find_speaker(): recog = recognition.SpeakerRecognizer()

# Record voice until silence is detected.
# save WAV file
vad.record()

# use newly recorded file.
name = []
name = recog.identify_speaker()
return name

if name == "main": speaker = find_speaker() print(speaker[0])

speaker.txt file is generated successfully but .gzbin file is not generated

please reply thanks