net.sourceforge.javaocr.matcher
Class MatcherUtil

java.lang.Object
  extended by net.sourceforge.javaocr.matcher.MatcherUtil

public class MatcherUtil
extends Object

useful utility methods

Author:
Konstantin Pribluda

Constructor Summary
MatcherUtil()
           
 
Method Summary
static List<Match> merge(List<Match> candidates, List<Match> required)
          extract candidates with matches in required list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatcherUtil

public MatcherUtil()
Method Detail

merge

public static List<Match> merge(List<Match> candidates,
                                List<Match> required)
extract candidates with matches in required list. Useful to increase match quality (use free space matches as required)

Parameters:
candidates - candidates to check
required - only those matches are passed through
Returns:
combined list of matches


Copyright © -2012. All Rights Reserved.