Comments (2)
Additionnally, the function findBest
can have several arguments in Sikulix (and not only one in lackey
):
.. py:method:: findBest(PS...)
:param PS...: one or more image filenames and/or patterns as a variable parameterlist
:return: a :py:class:`Match` object that contains the best match or None if no image was found at all
Use ``match.getIndex()`` to identify the best image from the list of images (index left to right, zero-based).
def findBest(self, pattern):
""" Returns the *best* match in the region (instead of the first match) """
....
from lackey.
Thanks! These look like they are probably features added since the initial implementation of Lackey. I'm not sure when I'll get around to reviewing & updating for the new features, but someone else can feel free to take a crack at it in the mean time!
from lackey.
Related Issues (20)
- Documentation not available (.io => .org) HOT 1
- Method waitVanish does not raise FindFailed exception after seconds timeout HOT 2
- Raspbian support HOT 1
- Option in type() to suppress logging of typed strings HOT 4
- Adjust the minimum of similarity HOT 2
- Is Lackey still active/supported? HOT 3
- How can I customize the size of the screen that needs to be monitored HOT 1
- Mouse method `move(xoff, yoff)` doesn't work as expected
- Typo in `Region.getCell` method
- Locks language switching while interactive mode on Windows
- lackey.type can not support chinese HOT 1
- Chinese path error
- Pillow 8.3.0 not working, use 8.2.0 instead
- How To Remove Unwanted Printing ? HOT 2
- opening app doesn't work
- Feature request: mask
- TypeError - grow()
- 0.74 not available via pip HOT 3
- Feature request: waitBest and findBest with multiple patterns
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lackey.