Skip to content

ImageNotFoundException #3

@n3t5pLi7

Description

@n3t5pLi7

Getting a confidence level of .888 but its saying the following error. its not even starting to solve for some reason

C:\Users\x\Downloads\Glimmer-and-Gloom-master\Glimmer-and-Gloom-master>autorun.py
Starting the game, we'll play 19 rounds.
Beginning round #1...
Traceback (most recent call last):
File "C:\Users\x\Downloads\Glimmer-and-Gloom-master\Glimmer-and-Gloom-master\autorun.py", line 17, in
solve_board()
File "C:\Users\x\Downloads\Glimmer-and-Gloom-master\Glimmer-and-Gloom-master\board_solver.py", line 242, in solve_board
gameBoard = GameBoard()
^^^^^^^^^^^
File "C:\Users\x\Downloads\Glimmer-and-Gloom-master\Glimmer-and-Gloom-master\board_solver.py", line 49, in init
self.find_all()
File "C:\Users\x\Downloads\Glimmer-and-Gloom-master\Glimmer-and-Gloom-master\board_solver.py", line 69, in find_all
for box in pyautogui.locateAllOnScreen(
File "C:\Users\x\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyscreeze_init_.py", line 257, in _locateAll_opencv
raise ImageNotFoundException('Could not locate the image (highest confidence = %.3f)' % result.max())
pyscreeze.ImageNotFoundException: Could not locate the image (highest confidence = 0.888)

any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Other ErrorYou got an Error that isn't listed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions