class Speaker::SpeakerIdentificationModel
class Speaker::SpeakerIdentificationModel
: public std::enable_shared_from_this< SpeakerIdentificationModel >
Represents speaker identification model used with speaker recognition class. Added in version 1.12.0.
Members
~SpeakerIdentificationModel
Syntax: public inline virtual ~SpeakerIdentificationModel ( );
Virtual destructor.
operator SPXSIMODELHANDLE
Syntax: public inline explicit operator SPXSIMODELHANDLE ( );
Internal. Explicit conversion operator.
Returns
A handle.
FromProfiles
Syntax: public inline static std::shared_ptr< SpeakerIdentificationModel > FromProfiles ( const std::vector< std::shared_ptr< VoiceProfile > > & profiles );
Creates a speaker identification model using the voice profiles.
Parameters
profiles
a vector of voice profiles.
Returns
A shared pointer to speaker identification model.