Skip to content

Tarrasch/easyVision

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/lib32
    

    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:

    ATLAS (optimized LAPACK):

     $ sudo apt-get install libatlas-base-dev
    

    OPENCV:

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

    SIFTGPU:

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

    tesseract:

     $ sudo apt-get install tesseract-ocr-dev
    

    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
     $ make demo
    
  9. Read the tutorial.

  10. Enjoy!

About

Haskell packages for computer vision, image processing, and pattern recognition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%