cannot find image using find(image_path)
I am trying to understand Sikuli's Region.find(PS) method and I understand how to use it when i input a pattern object (image) . However, when i try to ask sikuliX to find the image given the path i i input, I always seem to get an error.
match = "/Users/
returnMatch = find(match)
Error:
[error] JythonScriptRunner: runPython: (match = "/Users/
returnMatch = find(match)
) raised: Traceback (most recent call last):
File "<string>", line 2, in <module>
]
at org.opencv.
at org.opencv.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at java.base/
at java.base/
at java.base/
at java.b
ase/java.
org.opencv.
]
The screenshot definitely exists in the path i specified. Please advice, or am i using the API wrongly ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: