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

Exception #2

Open
WindowsNT opened this issue May 24, 2023 · 2 comments
Open

Exception #2

WindowsNT opened this issue May 24, 2023 · 2 comments

Comments

@WindowsNT
Copy link

OpenCV(4.7.0-dev) f:\opencv\opencv\modules\core\include\opencv2\core\mat.inl.hpp:943: error: (-215:Assertion failed) elemSize() == sizeof(_Tp) in function 'cv::Mat::at'

At the call to criminisi.generate();
Latest OpenCV.

@sat-p
Copy link
Owner

sat-p commented May 24, 2023

Could you try with this version of code: d349fa0 ?

I've ran the program and I'm not getting any errors. The algorithm, however, is pretty poor and only works well only some of the time.

In case you are still getting errors, I can try running the program against the image you're using.

@WindowsNT
Copy link
Author

Thanks for your answer, I'm trying to find an enhancement over the basic "inpaint" found in OpenCv.

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

2 participants