Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top