-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why only primary screen is supported? #14
Comments
If I remember well, this is a limitation from opencv. But I might wrong, I'm open to PR's if you want to add this feature :) |
Actually I have 4 screens. I was really enthusiastic when I found your imagesearch class, but then... it does not work on multi screen. There might be some workarounds according to this: |
Mmmh actually I just ran a test and multiple screens are supported on linux at least. which os are you using ? |
Windows 10.
sob., 4 sty 2020 o 23:20 Martin Lees <[email protected]> napisał(a):
… Mmmh actually I just ran a test and multiple screens *are* supported on
linux at least. which os are you using ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14?email_source=notifications&email_token=AFK2W2VTGZQLWBREJGME3ZDQ4EDTNA5CNFSM4JS7TEAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIDBQOQ#issuecomment-570824762>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFK2W2REI33HF2PWJ7KY5LLQ4EDTNANCNFSM4JS7TEAA>
.
--
Pozdrawiam / S pozdravem / Best regards,
*Chris Zamarski, Oracle Certified Professional & SAP BC Specialist*, MS&T
Please note: The information contained in this message may be legally
privileged and confidential and protected from disclosure.
If the reader of this message is not the intended recipient, you are hereby
notified that any unauthorized use,
distribution or copying of this communication is strictly prohibited. If
you have received this communication in error,
please notify us immediately by replying to the message and deleting it
from your computer.
|
Can you try to do an image search while uncommenting the im.save in the imagesearch function see how the captured area is ? It should be all of your screens.
|
Hi, I tried the above but it doesn't work, just returns [-1, -1] Edit: the screenshot only contains the primary montor |
The issue actually lies within pyautogui: Solution: |
Here is my solutionInstall the following:``` pip install desktopmagic pip install pywin32 ```Add the following to the start of imagesearch.py
Add the following after
Now, change the imagesearch function to:
You can now find images on other monitors |
Why only primary screen is supported?
The text was updated successfully, but these errors were encountered: