cz.vity.freerapid.plugins.webclient.utils
Class GOCR
java.lang.Object
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
|
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 |
GOCR
public GOCR(BufferedImage image,
String commandLineOptions)
- Constructor
- Parameters:
image - image for OCR recognitioncommandLineOptions - additional command line options for GOCR application
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