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

Incompatible with OpenCV 3.0 or greater #2

Open
ehamwey opened this issue Jan 28, 2017 · 5 comments
Open

Incompatible with OpenCV 3.0 or greater #2

ehamwey opened this issue Jan 28, 2017 · 5 comments

Comments

@ehamwey
Copy link

ehamwey commented Jan 28, 2017

When running the showImage() method in OpenCV 3.0 or greater, an exception is returned:

Exception in thread "Thread-0" java.lang.NoClassDefFoundError: org/opencv/highgui/Highgui

This is because Highgui has been removed in opencv 3.0 and split into two different packages - see this stackexchange for more details http://stackoverflow.com/questions/25059576/highgui-is-missing-from-opencv-3-0-0-jar

@AnEmortalKid
Copy link

AnEmortalKid commented Jan 28, 2017 via email

@AnEmortalKid
Copy link

@ehamwey here's an imshow that works on 3.0 - https://github.com/AnEmortalKid/Imshow/blob/stable/src/test/java/com/anemortalkid/imshow/Imshow.java
Feel free to rename it to ImShow3 and you can probably PR it into this guy.

@pflingstring
Copy link

pflingstring commented Aug 25, 2017

The source code does work on OpenCV >= 3.0. Apparently only the .jar file wasn't updated.
After building the .jar file anew with the current code it works.
Tested on OpenCV 3.2.0

@jalr4ever
Copy link

The same exception, it do work out only in lower version...

@AnEmortalKid
Copy link

@setihex would this version work for you: https://github.com/AnEmortalKid/Imshow

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

4 participants