FingerIndexer.search Method¶
Module: FingerIndexer
Definition¶
Performs a one-to-many search of a probe image template record against a previously initialized finger indexer and outputs a candidate list.
Note
This function is thread safe with other Search() calls but not with Add() calls.
search(self, image_record: FingerImageRecord, max_candidates: int, trust_filled_positions: bool) -> FingerCandidateList
Parameters
image_record
FingerImageRecordin The probe finger image 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 search(FingerImageRecord imageRecord, int maxCandidates, bool trustFilledPositions)
Parameters
imageRecord
FingerImageRecordin The probe finger image 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 Search(FingerImageRecord imageRecord, int maxCandidates, bool trustFilledPositions)
Parameters
imageRecord
FingerImageRecordin The probe finger image 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 search(FingerImageRecord imageRecord, int maxCandidates, boolean trustFilledPositions) throws FingerException
Parameters
imageRecord
FingerImageRecordin The probe finger image 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 search(imageRecord: FingerImageRecord, maxCandidates: Int32, trustFilledPositions: Bool) throws -> FingerCandidateList
Parameters
imageRecord
FingerImageRecordin The probe finger image 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_Search (
ID3_FINGER_INDEXER hFingerIndexer,
ID3_FINGER_IMAGE_RECORD hImageRecord,
int maxCandidates,
bool trustFilledPositions,
ID3_FINGER_CANDIDATE_LIST hCandidates)
Parameters
hFingerIndexer
ID3_FINGER_INDEXERin Handle to the FingerIndexer object.hImageRecord
ID3_FINGER_IMAGE_RECORDin The probe finger image 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