# HG changeset patch # User Robert McIntyre # Date 1362590460 0 # Node ID 446300cb5ae7e4c3edd7bd46df637a7565d2957b # Parent 68df11a65b277aade7145f1f409aa0e381ebd220 much easier way to load a library, using clojure.lang.RT/loadLibrary. diff -r 68df11a65b27 -r 446300cb5ae7 org/gabor.org --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org/gabor.org Wed Mar 06 17:21:00 2013 +0000 @@ -0,0 +1,32 @@ +#+title: Fun with Gabor Filters +#+author: Robert McIntyre +#+email: rlm@mit.edu +#+description: gabor filters in clojure with opencv +#+keywords: computer vision, jMonkeyEngine3, clojure, opencv +#+SETUPFILE: ../../aurellem/org/setup.org +#+INCLUDE: ../../aurellem/org/level-0.org +#+babel: :mkdirp yes :noweb yes :exports both + + + +#+name: gabor +#+begin_src clojure +(ns cortex.gabor) + +(defn load-opencv + "Load the opencv native library. Must be called before any OpenCV + stuff is used." + [] + (clojure.lang.RT/loadLibrary "opencv_java249")) + + + + +#+end_src + + + +* COMMENT Generate Source +#+begin_src clojure :tangle ../src/cortex/gabor.clj +<> +#+end_src