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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top