Skip to content

Commit 358eb9c

Browse files
authored
Merge pull request #51 from vrchmvgx/ensure-1.0
Ensure 1.0 is ready
2 parents e767080 + bd39031 commit 358eb9c

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

README.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,10 @@ Running unit tests
119119
Running acceptance tests
120120
------------------------
121121

122-
Additionally to unit test dependencies, you also need OpenCV, Eel and Chrome/Chromium browser.
122+
Additionally to unit test dependencies, you also need OpenCV, Eel, scrot and Chrome/Chromium browser.
123123
OpenCV is used because this tests are testing also confidence level.
124124
Browser is used by Eel for cross-platform GUI demo application.
125+
scrot is used for capturing screenshots.
125126

126127
::
127128
$ pip install opencv-python eel

setup.cfg

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[bdist_wheel]
2+
universal = 1
3+
4+
[metadata]
5+
license_files = LICENSE

src/ImageHorizonLibrary/recognition/_recognize_images.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ def try_locate(ref_image):
178178
else:
179179
if self.confidence:
180180
LOGGER.warn("Can't set confidence because you don't "
181-
"have OpenCV (python-opencv) installed.")
181+
"have OpenCV (python-opencv) installed "
182+
"or a confidence level was not given.")
182183
location = ag.locateOnScreen(ref_image)
183184
except ImageNotFoundException as ex:
184185
LOGGER.info(ex)

0 commit comments

Comments
 (0)