Haskell packages for computer vision, image processing, and pattern recognition
Pull request Compare This branch is 498 commits behind albertoruiz:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
lib
packages
projects
.gitignore
README.md
cameras.def

README.md

Haskell packages for Computer Vision

This is an experimental Haskell framework for fast prototyping of computer vision and image processing applications. We take advantage of the expressive power of functional programming to write elegant programs supported by standard low level specialized libraries.

help

related work

installation instructions

(Tested on Ubuntu)

  1. Get the source code:

     $ git clone git://github.com/AlbertoRuiz/easyVision.git
    
  2. Install IPP. You can download a noncomercial version for Linux:

     http://software.intel.com/en-us/articles/non-commercial-software-download/
    

    Install using sudo in the default location.

  3. Add the following environment variables to .bahsrc:

     export IPP_INC=/opt/intel/composerxe/ipp/include
     export IPP_SHARED="/opt/intel/ipp/lib/ia32/:/opt/intel/lib/ia32/"
     export IPP_LIBS="ippcore ippi ipps ippcc ippvc ippcv iomp5"
     export IPP_LINK=-pthread
     export EASYVISION=/your/path/to/easyVision/
     export LD_LIBRARY_PATH=$IPP_SHARED:$EASYVISION/lib
    

    Make sure that the IPP .h headers are in IPP_INC and the corresponding .so libs are in IPP_SHARED (modify as required in 64bit machines). Directory structure and required auxiliary libs frequently change in different IPP versions.

    Continue installation in a new terminal.

  4. Install the Haskell Platform:

     $ sudo apt-get install haskell-platform
     $ cabal update
    

    You will probably get the message that a new version of cabal-install is available. Don't worry about that now.

  5. Install the required libraries:

     $ sudo apt-get install libgsl0-dev liblapack-dev libglpk-dev
     $ sudo apt-get install libghc6-glut-dev mplayer mencoder imagemagick
    
  6. Install optional libraries:

    OPENCV:

     $ sudo apt-get install libcv-dev libcvaux-dev libhighgui-dev
    

    SIFTGPU (currently only for i386):

     $ sudo apt-get install nvidia-current nvidia-cg-toolkit libdevil-dev g++
    

    zbar:

     $ sudo apt-get install libzbar-dev
    

    3ds:

     $ sudo apt-get install libglew1.5-dev lib3ds-dev
    
  7. Install the Haskell packages:

     $ cd easyVision/packages
     $ make
    

    The basic system will be correctly installed if "ev-apps-0.1.0" is shown by

     $ ghc-pkg list
    

    You can also install the optional packages:

     $ make optional
    

    (Dont' worry if you get any error here)

  8. Run the demos:

     $ cd ../projects/demos
     $ make
     $ ./demo.sh
    
  9. Read the tutorial.

  10. Enjoy!