We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
source code: import pyautogui, time import snp
begin_time = time.time() for i in range(10): loc = snp.locateOnScreen('python.png',threshold = 0.87,region=None) print(loc) end_time = time.time()
print('fps:',10/(end_time-begin_time))
錯誤訊息: error: (-215:Assertion failed) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function 'matchTemplate'
The text was updated successfully, but these errors were encountered:
macOS Catalina 10.15.2 python 3.7
Sorry, something went wrong.
ma pis pe eroare asta de tot cacatul
No branches or pull requests
source code:
import pyautogui, time
import snp
begin_time = time.time()
for i in range(10):
loc = snp.locateOnScreen('python.png',threshold = 0.87,region=None)
print(loc)
end_time = time.time()
print('fps:',10/(end_time-begin_time))
錯誤訊息:
error: (-215:Assertion failed) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function 'matchTemplate'
The text was updated successfully, but these errors were encountered: