StructCompletion-python icon indicating copy to clipboard operation
StructCompletion-python copied to clipboard

OpenCV Error: Assertion failed

Open ura719 opened this issue 3 years ago • 0 comments

When I tried the code with 001_input_hole.png, program didn't finish because of following error: OpenCV Error: Assertion failed (dst.cols < SHRT_MAX && dst.rows < SHRT_MAX && src.cols < SHRT_MAX && src.rows < SHRT_MAX) in cv::remap, file C:\bld\opencv_1497792021051\work\opencv-3.2.0\modules\imgproc\src\imgwarp.cpp, line 4956 cv2.error: C:\bld\opencv_1497792021051\work\opencv-3.2.0\modules\imgproc\src\imgwarp.cpp:4956: error: (-215) dst.cols < SHRT_MAX && dst.rows < SHRT_MAX && src.cols < SHRT_MAX && src.rows < SHRT_MAX in function cv::remap

Is there a way to fix this?

ura719 avatar Dec 08 '20 10:12 ura719