コード例 #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);
        }
コード例 #2
0
ファイル: MinutiaMatch.cs プロジェクト: AmirAbrams/noid-1
        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);
        }