Class SpeakerIdentificationModel

  • All Implemented Interfaces:
    AutoCloseable

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

      • fromProfiles

        public static SpeakerIdentificationModel fromProfiles​(List<VoiceProfile> profiles)
        Creates a speaker identification model from the voice profiles.
        Parameters:
        profiles - A collection of voice profiles.
        Returns:
        The speaker identification model being created.
      • close

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

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