Skip to content

Instantly share code, notes, and snippets.

@ahmedfgad
Created July 9, 2019 14:46
Show Gist options
  • Save ahmedfgad/276f0ed9a443baf53312962ae319baba to your computer and use it in GitHub Desktop.
Save ahmedfgad/276f0ed9a443baf53312962ae319baba to your computer and use it in GitHub Desktop.
package opencvapp;
import org.opencv.core.Core;
import static org.opencv.core.CvType.CV_32F;
import org.opencv.core.Mat;
public class OpenCVApp {
public static void main(String[] args) {
System.load("D:\\Opencv-4.1.0-vc14_vc15\\opencv\\build\\java\\x64\\" + Core.NATIVE_LIBRARY_NAME + ".dll");
Mat test = new Mat(1, 1, CV_32F);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment