Modifier and Type | Field and Description |
---|---|
protected Mat |
base |
protected boolean |
isImage |
protected boolean |
isMultiFinder |
protected boolean |
isRegion |
protected boolean |
isScreen |
protected long |
MaxTimePerScan |
protected int |
offX |
protected int |
offY |
protected Region |
region |
protected IScreen |
screen |
Modifier | Constructor and Description |
---|---|
|
ImageFinder() |
|
ImageFinder(Image base) |
|
ImageFinder(IScreen scr) |
protected |
ImageFinder(Mat base) |
|
ImageFinder(Region reg) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
to explicitly free the Finder's resources
|
String |
find(Image img)
do a find op with the given pattern in the Finder's image
(hasNext() and next() will reveal possible match results)
|
String |
find(Pattern pat)
do a find op with the given pattern in the Finder's image
(hasNext() and next() will reveal possible match results)
|
String |
find(String filenameOrText)
do a find op with the given image or the given text in the Finder's image
(hasNext() and next() will reveal possible match results)
|
String |
findAll(Image img)
do a findAll op with the given image in the Finder's image
(hasNext() and next() will reveal possible match results)
|
String |
findAll(Pattern pat)
do a find op with the given pattern in the Finder's image
(hasNext() and next() will reveal possible match results)
|
String |
findAll(String filenameOrText)
do a findAll op with the given image or the given text in the Finder's image
(hasNext() and next() will reveal possible match results)
|
protected <PSI> ImageFind |
findInner(PSI probe,
double sim) |
String |
findText(String text)
do a text find with the given text in the Finder's image
(hasNext() and next() will reveal possible match results)
|
boolean |
hasChanges(Mat current) |
boolean |
hasNext() |
boolean |
isImage() |
boolean |
isValid() |
Match |
next() |
void |
remove()
not used
|
<PSI> ImageFind |
search(PSI probe,
Object... args) |
<PSI> ImageFind |
searchAll(PSI probe,
int sorted,
Object... args) |
<PSI> ImageFind |
searchAll(PSI probe,
Object... args) |
<PSI> ImageFind |
searchAny(PSI probe,
Object... args) |
<PSI> ImageFind |
searchSome(PSI probe,
int count,
Object... args) |
<PSI> ImageFind |
searchSome(PSI probe,
Object... args) |
protected void |
setBase(BufferedImage bImg) |
void |
setFindTimeout(double t) |
boolean |
setImage(Image base) |
void |
setIsMultiFinder() |
void |
setMinChanges(int min) |
boolean |
setRegion(Region reg) |
boolean |
setScreen(IScreen scr) |
finalize, findAllRepeat, findAllText, findRepeat, resetImage, setRepeating, setScreenImage
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected boolean isImage
protected Region region
protected boolean isRegion
protected IScreen screen
protected boolean isScreen
protected int offX
protected int offY
protected long MaxTimePerScan
protected Mat base
protected boolean isMultiFinder
public ImageFinder()
public ImageFinder(Image base)
public ImageFinder(IScreen scr)
public ImageFinder(Region reg)
protected ImageFinder(Mat base)
public void destroy()
Finder
public void setIsMultiFinder()
public boolean setImage(Image base)
public boolean isImage()
protected void setBase(BufferedImage bImg)
public boolean setScreen(IScreen scr)
public boolean setRegion(Region reg)
public void setFindTimeout(double t)
public String find(Image img)
Finder
public String find(String filenameOrText)
Finder
public String find(Pattern pat)
Finder
public String findText(String text)
Finder
protected <PSI> ImageFind findInner(PSI probe, double sim)
public String findAll(Image img)
Finder
public String findAll(String filenameOrText)
Finder
public String findAll(Pattern pat)
Finder
public boolean hasChanges(Mat current)
public void setMinChanges(int min)
public boolean hasNext()
public Match next()