natethegreate / Screentone-Remover

Script with GUI that removes screentones, using DSP
77 stars 8 forks source link

After the picture is put in, it starts to run. I don't know what the problem is #2

Open DDDXXXUFO opened 1 year ago

DDDXXXUFO commented 1 year ago

Exception in Tkinter callback Traceback (most recent call last): File "tkinter__init.py", line 1558, in call__ File "stremove.py", line 222, in File "stremove.py", line 135, in removeScreentones File "stremove.py", line 25, in blur cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\core\src\matrix.cpp:757: error: (-215:Assertion failed) dims <= 2 && step[0] > 0 in function 'cv::Mat::locateROI'

DDDXXXUFO commented 1 year ago

I put five black and white cartoons, the sharpening value is the default (I don't adjust anything), and then input the location (package/input_images) and output (package/output). As a result, I ran the stremove.exe file and these errors occurred