-
Notifications
You must be signed in to change notification settings - Fork 694
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adjust image hit percentage - I believe it's not possible, some ideas to check #366
Comments
Hey @tiagovasconcelosp , I was trying to reconstruct your issue. Can you provide a code snippet to experience that issue? Greets, |
Hi @fi-do Here's an example of what I'm doing. Notice that I open a program and then I make a loop to wait for this time for the program to open, checking for existence with an image x button. Ignore the comments, I was trying to do the same thing differently to try to get around the problem. In order to proceed with the opening of the system. In this time of waiting until he appears, he doesn't think with rpa. Sometimes it works and sometimes it doesn't. So I described the need above. I'll try to exemplify with the image and the system. class Auth:
|
@fi-do Cropped images used for rpa |
@fi-do Notice the cropping of the image, you should find it perfectly. |
Adding on, some possible causes could be -
I don't think the match % can be set as a parameter, for the underlying computer vision engine used (SikuliX). |
@kensoh Thanks for the help, I understand these mentioned cases. But it's none of those. It would be interesting to know about the possibility of these parameters but I already imagined that they didn't have it. My specific problem was due to the list of libraries related to pyinstaller, luckily I was able to identify the problem and solve it. When I did the conversion, it somehow affected the functioning of rpa/ocr |
I see.. Yes I confirmed that the underlying SikuliX engine does not support adjusting the match % - https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.click Feel free to share more about the issue and what the conversion is doing. This issue should be also replicable with TagUI. If so, you can consider joining the weekly TagUI Zoo Q&A call to troubleshoot further with my ex-colleague Ruth - aisingapore/TagUI#914 |
Closing issue for now but please let me know if you run into any problem! |
Hello, is it possible to adjust the percentage of correctness of the images? I have a problem, where rpa does not find the image. Even though this image is 100% correct with what is displayed on the screen. Like width x height and pixel.
I believe that there must be a calculation to define a hit pattern and so I would like to regulate it.
The text was updated successfully, but these errors were encountered: