\apibvw\SpeakerRecAlizePHPFacade

Facade for the alizephp wrapper. Performs high-level biometric operations, such as enrollment or verification

Summary

Methods
Properties
Constants
__construct()
getUser()
isEnrolled()
enroll()
testSpeakerIdentity()
deleteUser()
No public properties found
No constants found
No protected methods found
$alizephp_user
N/A
enroll_alizephp_user()
No private properties found
N/A

Properties

$alizephp_user

$alizephp_user : \alizephp\AlizePHP

AlizePHP user represented in the facade

Type

\alizephp\AlizePHP

Methods

__construct()

__construct(string $user)

Constructs an AlizePHPFacade for the user identified by $username

Parameters

string $user

getUser()

getUser() : string

(non-PHPdoc)

Returns

string —

User id

isEnrolled()

isEnrolled() : bool

(non-PHPdoc)

A user being enrolled means there is information about him (data structures, files, database entries, ...) that can be used to compare him to another user.

Returns

bool —

true if $user is enrolled, false if not.

enroll()

enroll( $audio_file_path) : bool

(non-PHPdoc)

..) to allow testing the identity of a user against another based on the audio features of his voice.

Parameters

$audio_file_path

Returns

bool —

true if enrollment was succesful, false if not.

testSpeakerIdentity()

testSpeakerIdentity( $audio_file_path) : float

(non-PHPdoc)

$user should be already erolled in the speaker recognition system in order to test his identity

Parameters

$audio_file_path

Returns

float —

The value resulting for the speaker verification process.

deleteUser()

deleteUser() : bool

(non-PHPdoc)

Returns

bool —

true if the operation completed successfully, false otherwise

enroll_alizephp_user()

enroll_alizephp_user(\alizephp\AlizePHP $alizephp_user, string $audio_file_path)

Performs an enrollment of an AlizePHP user with the audio file in the path indicated by $audio_file_path

Parameters

\alizephp\AlizePHP $alizephp_user
string $audio_file_path