log(lvl + 1, "checkLastSeen: still there"); match = new Match(new Region(img.getLastSeen()), img.getLastSeenScore()); match.setTimes(0, (new Date()).getTime() - lastSearchTime); hasMatch = true; } else { if (finder.hasNext()) { match = finder.next(); match.setTimes(0, now - lastSearchTime); if (match.getScore() >= getSimiliarity(ptn)) { hasMatch = true;
lastFindTime = (new Date()).getTime() - lastFindTime; m = f.next(); m.setTimes(lastFindTime, lastSearchTime); if (Settings.FindProfiling) { Debug.logp("[FindProfiling] Region.doFind final: %d msec", lastSearchTime);
get().setTimes(lastFindTime, lastSearchTime); if (pImage != null) { pImage.setLastSeen(get().getRect(), get().getScore());