OpenCV library not found in browser
in
Contributed Library Questions
•
3 years ago
Hi guys,
I am really new to processing and java so please excuse my ignorance..
I am trying to create an applet that uses the webcam and the open CV library. The script works fine in processing but when I try to run it in a browser I get the following error in the compliler window:
!!! required library not found : no OpenCV in java.library.path
Verify that the java.library.path property is correctly set and the '\path\to\OpenCV\bin' exists in your system PATH
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: hypermedia.video.OpenCV.capture(III)V
at hypermedia.video.OpenCV.capture(Native Method)
at hypermedia.video.OpenCV.capture(OpenCV.java:945)
at MoveAmount.setup(MoveAmount.java:38)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The path exists in the system path, I have signed all the .jar files and the OpenCV library files are included in the applet folder. The only thing I am not sure about is the "OpenCV in java.library.path" or how to verify if it is correctly set. I have looked on all the forums but can only find a discussion about a similar error in the processing compiler, this is not happeneing in my case, only in the browser. Could anyone shed any light on this error and how I might go about fixing it? Much appreciated
I am really new to processing and java so please excuse my ignorance..
I am trying to create an applet that uses the webcam and the open CV library. The script works fine in processing but when I try to run it in a browser I get the following error in the compliler window:
!!! required library not found : no OpenCV in java.library.path
Verify that the java.library.path property is correctly set and the '\path\to\OpenCV\bin' exists in your system PATH
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: hypermedia.video.OpenCV.capture(III)V
at hypermedia.video.OpenCV.capture(Native Method)
at hypermedia.video.OpenCV.capture(OpenCV.java:945)
at MoveAmount.setup(MoveAmount.java:38)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The path exists in the system path, I have signed all the .jar files and the OpenCV library files are included in the applet folder. The only thing I am not sure about is the "OpenCV in java.library.path" or how to verify if it is correctly set. I have looked on all the forums but can only find a discussion about a similar error in the processing compiler, this is not happeneing in my case, only in the browser. Could anyone shed any light on this error and how I might go about fixing it? Much appreciated
3