The problem was with opencv dll file.We have to link the dll file present. Create a PATH ENVIRONMENT variable with opencv/build/java/x64 or x86 depending our os and jre version. Works fine after setting the path.
Javacv CanvasFrame not working as Executable Jar
Question
I am using java cv canvas frame in my program for face detection.The code is working fine when i am running it in eclipse.But the canvas frame is not loading when i am exporting the project as an executable jar file. What is the issue. Is there any configurations to be done?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow