adding more version-related variables
This commit is contained in:
@@ -6,7 +6,7 @@ public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Welcome to OpenCV " + Core.VERSION);
|
||||
System.loadLibrary("opencv_java" + Core.VERSION_SUFFIX);
|
||||
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
|
||||
Mat m = Mat.eye(3, 3, CvType.CV_8UC1);
|
||||
System.out.println("m = " + m.dump());
|
||||
}
|
||||
|
Reference in New Issue
Block a user