Git Product home page Git Product logo

Comments (4)

vonnieda avatar vonnieda commented on July 24, 2024 2

This is now fixed in version 3.4.2-1.

from opencv.

vonnieda avatar vonnieda commented on July 24, 2024

It appears there are other problems, too. The @CallerSensitive annotation has been removed. It may be time to rewrite the library loader - or at least borrow heavily from JNAaerator.

from opencv.

vpetit35 avatar vpetit35 commented on July 24, 2024

Yes I faced that same problem when migrating to java10.

I've tried to write my own OpenCV.class for a quick workaround but
final InputStream binary = nu.pattern.OpenCV.class.getResourceAsStream(location); resulted as a nullPointer when called from my custom OpenCV.class (I am still curious how to deal with that classloader problem to get it right btw).

So I've rebuild the jar, after fixing the UnsatisfiedLinkError message and compiled it in java8 (to avoid the @CallerSensitive problem) and it worked fine.

Another workaround I found is to use nu.pattern.OpenCV.loadLocally();
I don't think this could be a problem in my case.

from opencv.

vonnieda avatar vonnieda commented on July 24, 2024

This is fixed in 29f5eb0. I'm also working on fixing #38 and once that's fixed I will do a new release to take care of both issues.

from opencv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.