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

OpenCV Error: Assertion failed #7

Open
ura719 opened this issue Dec 8, 2020 · 0 comments
Open

OpenCV Error: Assertion failed #7

ura719 opened this issue Dec 8, 2020 · 0 comments

Comments

@ura719
Copy link

ura719 commented Dec 8, 2020

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?

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