Skip to content
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

I've got error #4

Open
Miracle1981 opened this issue Dec 17, 2021 · 1 comment
Open

I've got error #4

Miracle1981 opened this issue Dec 17, 2021 · 1 comment

Comments

@Miracle1981
Copy link

Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.

======= RESTART: C:\script\BombCryptoCaptchaSolver-main\captchaSolver.py =======
Traceback (most recent call last):
File "C:\script\BombCryptoCaptchaSolver-main\captchaSolver.py", line 194, in
img = sweepScreen(m)
File "C:\script\BombCryptoCaptchaSolver-main\captchaSolver.py", line 127, in sweepScreen
res = locate("Recognition/robot.png", im, confidence=0.8)
File "C:\script\BombCryptoCaptchaSolver-main\captchaSolver.py", line 78, in locate
array = locateAll(tmpName, img, confidence)
File "C:\script\BombCryptoCaptchaSolver-main\captchaSolver.py", line 93, in locateAll
if mask[pt[1] + int(round(h / 2)), pt[0] + int(round(w / 2))] != 255:
IndexError: index 160 is out of bounds for axis 1 with size 160

@TheMegafuji
Copy link
Owner

Try uninstalling python 3.10 and using 3.9, check if works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants