comparison org/gabor.org @ 356:446300cb5ae7

much easier way to load a library, using clojure.lang.RT/loadLibrary.
author Robert McIntyre <rlm@mit.edu>
date Wed, 06 Mar 2013 17:21:00 +0000
parents
children 90b34cb842de
comparison
equal deleted inserted replaced
355:68df11a65b27 356:446300cb5ae7
1 #+title: Fun with Gabor Filters
2 #+author: Robert McIntyre
3 #+email: rlm@mit.edu
4 #+description: gabor filters in clojure with opencv
5 #+keywords: computer vision, jMonkeyEngine3, clojure, opencv
6 #+SETUPFILE: ../../aurellem/org/setup.org
7 #+INCLUDE: ../../aurellem/org/level-0.org
8 #+babel: :mkdirp yes :noweb yes :exports both
9
10
11
12 #+name: gabor
13 #+begin_src clojure
14 (ns cortex.gabor)
15
16 (defn load-opencv
17 "Load the opencv native library. Must be called before any OpenCV
18 stuff is used."
19 []
20 (clojure.lang.RT/loadLibrary "opencv_java249"))
21
22
23
24
25 #+end_src
26
27
28
29 * COMMENT Generate Source
30 #+begin_src clojure :tangle ../src/cortex/gabor.clj
31 <<gabor>>
32 #+end_src