net.sourceforge.javaocr.scanner.accuracy
Class OCRIdentification
java.lang.Object
net.sourceforge.javaocr.scanner.accuracy.OCRIdentification
public class OCRIdentification
- extends Object
Provides a data structure to manage an OCR character recognition attempt.
- Author:
- William Whitney
ocrType
private OCRComp ocrType
chars
private ArrayList<Character> chars
identErrors
private ArrayList<Double> identErrors
LOG
private static final Logger LOG
OCRIdentification
public OCRIdentification(OCRComp ocrType)
addChar
public void addChar(char newChar,
double identError)
getNumChars
public int getNumChars()
getCharIdx
public char getCharIdx(int idx)
getIdentErrorIdx
public double getIdentErrorIdx(int idx)
getOCRType
public OCRComp getOCRType()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © -2012. All Rights Reserved.