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

Learning mode not recognizing modded UI icon set. #41

Open
BeerHuntor opened this issue Nov 28, 2022 · 1 comment
Open

Learning mode not recognizing modded UI icon set. #41

BeerHuntor opened this issue Nov 28, 2022 · 1 comment

Comments

@BeerHuntor
Copy link

BeerHuntor commented Nov 28, 2022

Learning mode does not recognize the icon set https://sentsu.itch.io/foxhole-ui-label-icons Gives Open-CV error.

root - INFO - 2022-11-27 23:47:56.739978 Log Created
root - INFO - 2022-11-27 23:48:07.242255 Exception loading shirt crate icon in GrabStockpileImage OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:07.243256 Exception loading individual shirt icon in GrabStockpileImage OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:07.254257 Exception finding shirt crate icon in GrabStockpileImage local variable 'resC' referenced before assignment
root - INFO - 2022-11-27 23:48:07.284279 Saved image with GrabStockpileImage named test_2022-11-27-234807.png
root - INFO - 2022-11-27 23:48:29.250087 Exception loading shirt crate icon in GrabStockpileImage OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:29.251086 Exception loading individual shirt icon in GrabStockpileImage OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:29.263089 Exception finding shirt crate icon in GrabStockpileImage local variable 'resC' referenced before assignment
root - INFO - 2022-11-27 23:48:29.293094 Saved image with GrabStockpileImage named test_2022-11-27-234829.png
root - INFO - 2022-11-27 23:48:50.345547 Starting scan thread: t1
root - INFO - 2022-11-27 23:48:50.354550 Maybe missing shirt crate icon in ItemScan OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:50.362552 Maybe missing individual shirt icon in ItemScan OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:50.367552 Don't have the individual shirts icon or not looking at a stockpile in ItemScan local variable 'res' referenced before assignment
root - INFO - 2022-11-27 23:48:50.373553 Don't have the shirt crate icon or not looking at a stockpile in ItemScan local variable 'resC' referenced before assignment
root - INFO - 2022-11-27 23:48:54.179187 No buttons? local variable 'btn' referenced before assignmentroot - INFO - 2022-11-27 23:47:56.739978 Log Created
root - INFO - 2022-11-27 23:48:07.242255 Exception loading shirt crate icon in GrabStockpileImage OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:07.243256 Exception loading individual shirt icon in GrabStockpileImage OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:07.254257 Exception finding shirt crate icon in GrabStockpileImage local variable 'resC' referenced before assignment
root - INFO - 2022-11-27 23:48:07.284279 Saved image with GrabStockpileImage named test_2022-11-27-234807.png
root - INFO - 2022-11-27 23:48:29.250087 Exception loading shirt crate icon in GrabStockpileImage OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:29.251086 Exception loading individual shirt icon in GrabStockpileImage OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:29.263089 Exception finding shirt crate icon in GrabStockpileImage local variable 'resC' referenced before assignment
root - INFO - 2022-11-27 23:48:29.293094 Saved image with GrabStockpileImage named test_2022-11-27-234829.png
root - INFO - 2022-11-27 23:48:50.345547 Starting scan thread: t1
root - INFO - 2022-11-27 23:48:50.354550 Maybe missing shirt crate icon in ItemScan OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:50.362552 Maybe missing individual shirt icon in ItemScan OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'cv::crossCorr'

root - INFO - 2022-11-27 23:48:50.367552 Don't have the individual shirts icon or not looking at a stockpile in ItemScan local variable 'res' referenced before assignment
root - INFO - 2022-11-27 23:48:50.373553 Don't have the shirt crate icon or not looking at a stockpile in ItemScan local variable 'resC' referenced before assignment
root - INFO - 2022-11-27 23:48:54.179187 No buttons? local variable 'btn' referenced before assignment

Shirts are in the stockpile.

@BeerHuntor
Copy link
Author

also this

Should launch icon Picker error, but no file exists with that name

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

1 participant