net.sourceforge.javaocr.ocrPlugins.handWriting
Class ResultAnalyzer

java.lang.Object
  extended by net.sourceforge.javaocr.ocrPlugins.handWriting.ResultAnalyzer

public class ResultAnalyzer
extends Object

Determines the correct character by looking at errors between different recognizers.

Author:
William Whitney

Field Summary
private  ArrayList<OCRIdentification> apsectCharIdentList
           
private  int listSize
           
private static Logger LOG
           
private  ArrayList<OCRIdentification> mseCharIdentList
           
 
Constructor Summary
ResultAnalyzer(ArrayList<OCRIdentification> mseCharIdentList, ArrayList<OCRIdentification> aspectCharIdentList)
           
 
Method Summary
 String calculateResultAndReturnString()
           
private  ArrayList<CandidateOCRChoice> getCharChoices()
           
private  char getHighestRankResult(ArrayList<OCRIdentification> OCRResultsForChar)
           
private  int getListSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mseCharIdentList

private ArrayList<OCRIdentification> mseCharIdentList

apsectCharIdentList

private ArrayList<OCRIdentification> apsectCharIdentList

listSize

private int listSize

LOG

private static final Logger LOG
Constructor Detail

ResultAnalyzer

public ResultAnalyzer(ArrayList<OCRIdentification> mseCharIdentList,
                      ArrayList<OCRIdentification> aspectCharIdentList)
Method Detail

calculateResultAndReturnString

public String calculateResultAndReturnString()

getHighestRankResult

private char getHighestRankResult(ArrayList<OCRIdentification> OCRResultsForChar)

getCharChoices

private ArrayList<CandidateOCRChoice> getCharChoices()

getListSize

private int getListSize()


Copyright © -2012. All Rights Reserved.