Structure containing identification result.
More...
#include <voicesdk/identification/identification.h>
|
std::vector< size_t > | GetIndexesOfMatchedTemplates () const |
| Returns indexes of templates stored (i.e. used for creation) identification list which are considered to belong to the speaker being identified. More...
|
|
bool | IsMatched () const |
| Check whether voice template was matched or not. More...
|
|
|
std::vector< float > | scores |
| Contains similarity score for each template sorted in according to templates identification list was created with.
|
|
float | threshold |
| Similarity score threshold, supposed to be used to make a decision about if corresponding voice template in the identification list belongs to the same speaker as the passed one (is the score is greater than the threshold) More...
|
|
Structure containing identification result.
◆ GetIndexesOfMatchedTemplates()
std::vector<size_t> voicesdk::ident::IdentificationResult::GetIndexesOfMatchedTemplates |
( |
| ) |
const |
|
inline |
Returns indexes of templates stored (i.e. used for creation) identification list which are considered to belong to the speaker being identified.
- Returns
- Vector of indexes of matched templates from identification list
◆ IsMatched()
bool voicesdk::ident::IdentificationResult::IsMatched |
( |
| ) |
const |
|
inline |
Check whether voice template was matched or not.
- Returns
- true if template was matched, false otherwise
◆ threshold
float voicesdk::ident::IdentificationResult::threshold |
Similarity score threshold, supposed to be used to make a decision about if corresponding voice template in the identification list belongs to the same speaker as the passed one (is the score is greater than the threshold)
- See also
- getIndexesOfMatchedTemplates method for decision making logic