Yea, the black box appears at start up of the GEC counter application. The gecDebug.log is populated with
ERROR:root:gecException:
Traceback (most recent call last):
File "GilansEncounterCounter.py", line 940, in find_best_match_confirm
cv2.error: OpenCV(4.5.2) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-1y7gm6kn\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'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "GilansEncounterCounter.py", line 1306, in run_app
File "GilansEncounterCounter.py", line 1152, in detect_new_encounter
File "GilansEncounterCounter.py", line 948, in find_best_match_confirm
AttributeError: 'NoneType' object has no attribute 'shape'