You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在主界面选择清晰增强出错:Traceback (most recent call last):
File "C:\Users\goning\workspace\Doc-Image-Tool-main\custom\listWidgets.py", line 78, in add_used_function
self.mainwindow.update_image()
File "C:\Users\goning\workspace\Doc-Image-Tool-main\main.py", line 64, in update_image
img = self.process_image()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\goning\workspace\Doc-Image-Tool-main\main.py", line 78, in process_image
img = self.useListWidget.item(i)(img)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\goning\workspace\Doc-Image-Tool-main\custom\listWidgetItems.py", line 77, in call
result = doc_sharpening_pred(img)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\goning\workspace\Doc-Image-Tool-main\function_method\DocSharpening.py", line 26, in doc_sharpening_pred
result = doc_sharpening_model.upsample(image)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv_contrib\modules\dnn_superres\src\dnn_superres.cpp:263: error: (-5:Bad argument) Not supported image type: CV_8UC4 in function 'cv::dnn_superres::DnnSuperResImpl::preprocess_YCrCb'
The text was updated successfully, but these errors were encountered:
在主界面选择清晰增强出错:Traceback (most recent call last):
File "C:\Users\goning\workspace\Doc-Image-Tool-main\custom\listWidgets.py", line 78, in add_used_function
self.mainwindow.update_image()
File "C:\Users\goning\workspace\Doc-Image-Tool-main\main.py", line 64, in update_image
img = self.process_image()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\goning\workspace\Doc-Image-Tool-main\main.py", line 78, in process_image
img = self.useListWidget.item(i)(img)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\goning\workspace\Doc-Image-Tool-main\custom\listWidgetItems.py", line 77, in call
result = doc_sharpening_pred(img)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\goning\workspace\Doc-Image-Tool-main\function_method\DocSharpening.py", line 26, in doc_sharpening_pred
result = doc_sharpening_model.upsample(image)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv_contrib\modules\dnn_superres\src\dnn_superres.cpp:263: error: (-5:Bad argument) Not supported image type: CV_8UC4 in function 'cv::dnn_superres::DnnSuperResImpl::preprocess_YCrCb'
The text was updated successfully, but these errors were encountered: