juanmc2005 / diart

A python package to build AI-powered real-time audio applications
https://diart.readthedocs.io
MIT License
1.1k stars 90 forks source link

No speaker #219

Closed chiaki-luo closed 1 year ago

chiaki-luo commented 1 year ago

Dear author, I tried the example code: from diart import SpeakerDiarization from diart.sources import MicrophoneAudioSource from diart.inference import StreamingInference from diart.sinks import RTTMWriter

pipeline = SpeakerDiarization() mic = MicrophoneAudioSource() inference = StreamingInference(pipeline, mic, do_plot=True) inference.attach_observers(RTTMWriter(mic.uri, "/output/file.rttm")) prediction = inference()

but it seems that the program can't recognise the speaker 20231121151634 20231121151821 Could you help me? Thank you very much!