public class TextRecognizer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TextRecognizer.ListTextMode |
Modifier and Type | Field and Description |
---|---|
protected static TextRecognizer |
_instance |
Modifier | Constructor and Description |
---|---|
protected |
TextRecognizer() |
Modifier and Type | Method and Description |
---|---|
static TextRecognizer |
getInstance() |
void |
init() |
java.util.List<Match> |
listText(ScreenImage simg,
Region parent) |
java.util.List<Match> |
listText(ScreenImage simg,
Region parent,
TextRecognizer.ListTextMode mode) |
java.lang.String |
recognize(java.awt.image.BufferedImage img) |
java.lang.String |
recognize(ScreenImage simg) |
protected static TextRecognizer _instance
public void init()
public static TextRecognizer getInstance()
public java.util.List<Match> listText(ScreenImage simg, Region parent)
public java.util.List<Match> listText(ScreenImage simg, Region parent, TextRecognizer.ListTextMode mode)
public java.lang.String recognize(ScreenImage simg)
public java.lang.String recognize(java.awt.image.BufferedImage img)