-
-
Notifications
You must be signed in to change notification settings - Fork 591
Description
Loading Loader.load(opencv_java.class) takes 10 seconds on windows and on debug enabled, the Loader is searching all possible Paths: For .e.g with org.bytedeco.javac=true, I see the following:
Debug: Failed to load for opencv_cudaimgproc440: java.lang.UnsatisfiedLinkError: no opencv_cudaimgproc440 in java.library.path: [C:\Program Files\AdoptOpenJDK\jdk-11.0.9.101-hotspot\bin, C:\WINDOWS\Sun\Java\bin, C:\WINDOWS\system32, C:\WINDOWS, C:\Program Files\AdoptOpenJDK\jdk-11.0.9.101-hotspot\bin, C:\Program Files (x86)\Razer\ChromaBroadcast\bin, C:\Program Files\Razer\ChromaBroadcast\bin, C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler, C:\Prog
It does find the libraries but not sure searching for all possible directories in PATH is the way to go.
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>opencv-platform</artifactId>
<version>4.4.0-1.5.4</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>numpy-platform</artifactId>
<version>1.19.1-1.5.4</version>
</dependency>