Mercurial > cortex
diff java/src/com/aurellem/opencv/OpenCV.java @ 355:68df11a65b27
temporary java stuff to load native library.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 06 Mar 2013 17:13:27 +0000 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/java/src/com/aurellem/opencv/OpenCV.java Wed Mar 06 17:13:27 2013 +0000 1.3 @@ -0,0 +1,15 @@ 1.4 +package com.aurellem.opencv; 1.5 + 1.6 +public class OpenCV { 1.7 + 1.8 + public OpenCV(){} 1.9 + 1.10 + public static void loadVBA(){ 1.11 + System.loadLibrary("opencv_java249"); 1.12 + } 1.13 + 1.14 + public static void absoluteLoadVBA(){ 1.15 + System.load("/usr/share/OpenCV/java/libopencv_java249.so"); 1.16 + } 1.17 + 1.18 +}