Ask Your Question

strike91's profile - activity

2013-12-10 10:36:06 -0500 answered a question Java Webcam Capture

You must load the appropriate OpenCV dll's with accordance to the system architecture you are using. Mine is placed in the 'lib\opencv' directory inside my project folder.

    String currentDir = new File("").getAbsolutePath();
    String arch = System.getProperty("");

    switch (arch) {
        case "64":
            System.load(currentDir + "\\lib\\opencv\\x64\\opencv_java247.dll");
        case "32":
            System.load(currentDir + "\\lib\\opencv\\x86\\opencv_java247.dll");
2013-12-09 14:44:18 -0500 asked a question Stitcher and matchTemplate implementation for Java


Can someone give a Stitcher and matchTemplate implementation sample for Java? The only examples I can find for Java is included in the package. Please help. Thanks.