mirror of
https://github.com/opencv/opencv.git
synced 2026-10-01 04:03:49 +03:00
adding more version-related variables
This commit is contained in:
1 parent
29b763dc60
commit
c24d7cc066
4 files changed
+6
-5
No files matched your search
@@ -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