Class SpeakerVerificationModel

  • All Implemented Interfaces:
    AutoCloseable

    public class SpeakerVerificationModel
    extends Object
    implements AutoCloseable
    Represents the speaker verification model used for speaker recognition. Note: close() must be called in order to release underlying resources held by the object.
    • Method Detail

      • fromProfile

        public static SpeakerVerificationModel fromProfile​(VoiceProfile profile)
        Creates a speaker verification model from a voice profile.
        Parameters:
        profile - A voice profile.
        Returns:
        The speaker verification model being created.
      • close

        public void close()
        Dispose of associated resources.
        Specified by:
        close in interface AutoCloseable
      • getImpl

        public SafeHandle getImpl()
        Returns the speaker verification model.
        Returns:
        The implementation of the model.