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

OpenCV4 support #76

Merged
merged 2 commits into from
May 3, 2020
Merged

OpenCV4 support #76

merged 2 commits into from
May 3, 2020

Conversation

klem23
Copy link
Member

@klem23 klem23 commented May 2, 2020

OpenCV4 support : change old C definition to standard c++ one in use
the old definition still exist in imgproc.c_types.h

Summary

OpenCV 4 made some changes regarding C definition in imgproc
I update them. It seems to work....

Review

Should be compiled on Mac and Windows also.
I don't know if we need to check compatibility with OpenCV3

Test coverage

  • code already covered by the following tests:
  • a new unit test is provided with this change set
  • a new command line test is provided with this change set
  • a new squish test is provided with this change set
  • no test needed: ok but why?

OpenCV4 support : change old C definition to standard c++ one in use
the old definition still exist in imgproc.c_types.h
@klem23 klem23 requested review from jeremad and w-m May 2, 2020 14:26
@w-m
Copy link
Member

w-m commented May 2, 2020

Fixes #62.

@w-m
Copy link
Member

w-m commented May 2, 2020

OpenCV 4 from MacPorts depends on https://github.com/opencv/ade and causes a linking error to -lade.

@jeremad
Copy link

jeremad commented May 2, 2020

Let's wait a final 2.4 release before merging this, but it looks good!

@klem23
Copy link
Member Author

klem23 commented May 3, 2020

Yes at least no regression with opencv 3...

@jeremad
Copy link

jeremad commented May 3, 2020

I'll test on windows, but let's not block that

@jeremad jeremad merged commit 31d729e into master May 3, 2020
@w-m w-m deleted the opencv4 branch May 13, 2020 18:57
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

Successfully merging this pull request may close these issues.

None yet

3 participants