クラス Speaker::SpeakerIdentificationModel

class Speaker::SpeakerIdentificationModel
  : public std::enable_shared_from_this< SpeakerIdentificationModel >

話者認識クラスで使用される話者識別モデルを表します。 バージョン 1.12.0 で追加されました。

メンバー

~SpeakerIdentificationModel

構文: public inline virtual ~SpeakerIdentificationModel ( );

仮想デストラクター。

演算子 SPXSIMODELHANDLE

構文: public inline explicit operator SPXSIMODELHANDLE ( );

内部。 明示的な変換演算子。

戻り値

ハンドル。

FromProfiles

構文: public inline static std::shared_ptr< SpeakerIdentificationModel > FromProfiles ( const std::vector< std::shared_ptr< VoiceProfile > > & profiles );

音声プロファイルを使用して話者識別モデルを作成します。

パラメーター

  • profiles 音声プロファイルのベクトル。

戻り値

話者識別モデルへの共有ポインター。