1 | initial version |
Thanks a lot! This solved my problem.
In this official tutorial http://docs.opencv.org/2.4/doc/tutorials/introduction/desktop_java/java_dev_intro.html it uses ...getResource... But it ain't work with the xml and image as a resource! Putting it inside the project's basdir works just fine.