cz.vity.freerapid.plugins.webclient.utils
Class GOCR

java.lang.Object
  extended by cz.vity.freerapid.plugins.webclient.utils.GOCR

 class GOCR
extends Object

Class that compounds access to GOCR extern application - for CAPTCHA recognition

Author:
Ladislav Vitasek

Constructor Summary
GOCR(BufferedImage image, String commandLineOptions)
          Constructor
 
Method Summary
 String recognize()
          Makes OCR recognition with GOCR application Calls system application GOCR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GOCR

public GOCR(BufferedImage image,
            String commandLineOptions)
Constructor

Parameters:
image - image for OCR recognition
commandLineOptions - additional command line options for GOCR application
Method Detail

recognize

public String recognize()
                 throws IOException
Makes OCR recognition with GOCR application Calls system application GOCR

Returns:
Throws:
IOException - error calling GOCR application or IO working with streams