net.sourceforge.javaocr.ocrPlugins.handWriting
Class HandwritingOCR
java.lang.Object
net.sourceforge.javaocr.ocrPlugins.handWriting.HandwritingOCR
- All Implemented Interfaces:
- AccuracyListenerInterface
public class HandwritingOCR
- extends Object
- implements AccuracyListenerInterface
Employs the help of many plug-ins to help recognize hand writing.
- Author:
- William Whitney
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
trainingImages
private final HashMap<Character,ArrayList<TrainingImage>> trainingImages
isDoMSE
private boolean isDoMSE
isDoAspect
private boolean isDoAspect
mseCharIdentList
private final ArrayList<OCRIdentification> mseCharIdentList
aspectCharIdentList
private final ArrayList<OCRIdentification> aspectCharIdentList
LOG
private static final Logger LOG
HandwritingOCR
public HandwritingOCR(HashMap<Character,ArrayList<TrainingImage>> trainingImages)
scan
public String scan(BufferedImage targetBfImage)
processCharOrSpace
public void processCharOrSpace(OCRIdentification charIdent)
- Specified by:
processCharOrSpace in interface AccuracyListenerInterface
doMSEScan
private void doMSEScan(BufferedImage targetBfImage)
doAspectRatioScan
private void doAspectRatioScan(BufferedImage targetBfImage)
setEnableMSEOCR
public void setEnableMSEOCR(boolean enable)
setEnableAspectOCR
public void setEnableAspectOCR(boolean enable)
Copyright © -2012. All Rights Reserved.