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