Esempio n. 1
0
        public MinutiaResult SearchPatients(Template probe)
        {
            MinutiaResult result = new MinutiaResult();

            if (!(_minutiaMatch == null))
            {
                if (_minutiaMatch.CandidateCount > 0)
                {
                    result = _minutiaMatch.SearchPatients(probe, false);
                }
            }
            return(result);
        }
Esempio n. 2
0
        private MinutiaResult IdentifyFinger(Template probe)
        {
            MinutiaResult result = null;

            lock (this)
            {
                float[] scores = Afis.IdentifyFingers(probe, _fingerPrintCandidateList);
                if (scores.Length > 0)
                {
                    for (int i = 0; i < scores.Count(); i++)
                    {
                        if (scores[i] > _matchThreshold)
                        {
                            result       = new MinutiaResult();
                            result.Score = scores[i];
                            result.NoID  = _fingerPrintCandidateList[i].NoID.LocalNoID;
                            break;
                        }
                    }
                }
            }
            return(result);
        }