changing layout, adding ant and eclipse sections, more pictures
This commit is contained in:
12
samples/java/eclipse/HelloCV/src/Main.java
Normal file
12
samples/java/eclipse/HelloCV/src/Main.java
Normal file
@@ -0,0 +1,12 @@
|
||||
import org.opencv.core.CvType;
|
||||
import org.opencv.core.Mat;
|
||||
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.loadLibrary("opencv_java244");
|
||||
Mat m = Mat.eye(3, 3, CvType.CV_8UC1);
|
||||
System.out.println("m = " + m.dump());
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user