Mercurial > cortex
view 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 |
line wrap: on
line source
1 #+title: Fun with Gabor Filters2 #+author: Robert McIntyre3 #+email: rlm@mit.edu4 #+description: gabor filters in clojure with opencv5 #+keywords: computer vision, jMonkeyEngine3, clojure, opencv6 #+SETUPFILE: ../../aurellem/org/setup.org7 #+INCLUDE: ../../aurellem/org/level-0.org8 #+babel: :mkdirp yes :noweb yes :exports both12 #+name: gabor13 #+begin_src clojure14 (ns cortex.gabor)16 (defn load-opencv17 "Load the opencv native library. Must be called before any OpenCV18 stuff is used."19 []20 (clojure.lang.RT/loadLibrary "opencv_java249"))25 #+end_src29 * COMMENT Generate Source30 #+begin_src clojure :tangle ../src/cortex/gabor.clj31 <<gabor>>32 #+end_src