FingerIndexer.searchFromEmbedding Method¶
Module: FingerIndexer
Definition¶
Internal function
search_from_embedding(self, template_record: FingerTemplateRecord, max_candidates: int, trust_filled_positions: bool) -> FingerCandidateList
Parameters
template_record
FingerTemplateRecordin The probe finger template record.max_candidates
intin Maximum candidates count in the retrieved candidate list.trust_filled_positions
boolin If False, search does not trust the TemplateRecord positions : each query template is searched across all different positions. If True, each query template is only search against templates of its position.
Returns
List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Finger Library execution.
FingerCandidateList searchFromEmbedding(FingerTemplateRecord templateRecord, int maxCandidates, bool trustFilledPositions)
Parameters
templateRecord
FingerTemplateRecordin The probe finger template record.maxCandidates
intin Maximum candidates count in the retrieved candidate list.trustFilledPositions
boolin If False, search does not trust the TemplateRecord positions : each query template is searched across all different positions. If True, each query template is only search against templates of its position.
Returns
List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Finger Library execution.
public FingerCandidateList SearchFromEmbedding(FingerTemplateRecord templateRecord, int maxCandidates, bool trustFilledPositions)
Parameters
templateRecord
FingerTemplateRecordin The probe finger template record.maxCandidates
intin Maximum candidates count in the retrieved candidate list.trustFilledPositions
boolin If False, search does not trust the TemplateRecord positions : each query template is searched across all different positions. If True, each query template is only search against templates of its position.
Returns
List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Finger Library execution.
public FingerCandidateList searchFromEmbedding(FingerTemplateRecord templateRecord, int maxCandidates, boolean trustFilledPositions) throws FingerException
Parameters
templateRecord
FingerTemplateRecordin The probe finger template record.maxCandidates
intin Maximum candidates count in the retrieved candidate list.trustFilledPositions
booleanin If False, search does not trust the TemplateRecord positions : each query template is searched across all different positions. If True, each query template is only search against templates of its position.
Returns
List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Finger Library execution.
public func searchFromEmbedding(templateRecord: FingerTemplateRecord, maxCandidates: Int32, trustFilledPositions: Bool) throws -> FingerCandidateList
Parameters
templateRecord
FingerTemplateRecordin The probe finger template record.maxCandidates
Int32in Maximum candidates count in the retrieved candidate list.trustFilledPositions
Boolin If False, search does not trust the TemplateRecord positions : each query template is searched across all different positions. If True, each query template is only search against templates of its position.
Returns
List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerIndexer_SearchFromEmbedding (
ID3_FINGER_INDEXER hFingerIndexer,
ID3_FINGER_TEMPLATE_RECORD hTemplateRecord,
int maxCandidates,
bool trustFilledPositions,
ID3_FINGER_CANDIDATE_LIST hCandidates)
Parameters
hFingerIndexer
ID3_FINGER_INDEXERin Handle to the FingerIndexer object.hTemplateRecord
ID3_FINGER_TEMPLATE_RECORDin The probe finger template record.maxCandidates
intin Maximum candidates count in the retrieved candidate list.trustFilledPositions
boolin If False, search does not trust the TemplateRecord positions : each query template is searched across all different positions. If True, each query template is only search against templates of its position.hCandidates
ID3_FINGER_CANDIDATE_LISTout List of candidates sorted by decreasing match score.
Returns