Skip to content

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

Notifications You must be signed in to change notification settings

timsears/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 12.04)

  1. Get the source code:

     $ git clone git://github.com/albertoruiz/easyVision.git
    

    Checkout the reorg branch:

     $ git checkout reorg
    
  2. Install IPP. You can download the noncomercial version 7.1 for Linux (go to the link "Intel Integrated Performance Primitives (Intel IPP) 7.1 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 ~/.bashrc:

     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
    

    Modify as required to make sure that the IPP .h headers are in IPP_INC and the corresponding .so libs are in IPP_SHARED.

    Continue installation in a new terminal.

  4. Install the Haskell Platform:

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

    Note that this branch works better with GHC 7.6.3. The official binary package is available from:

    https://www.haskell.org/ghc/download_ghc_7_6_3#x86linux
    
    $ ./configure --prefix=/path/to/desired/location/of/ghc7.6.3
    $ ./make install
    

    Change the path in .bashrc so this ghc is used instead of the ghc supplied by the Haskell Platform and continue the installation in a new terminal.

  5. Install the required libraries:

     $ sudo apt-get install libgsl0-dev libatlas-base-dev libglpk-dev
     $ sudo apt-get install mplayer mencoder imagemagick
    
  6. Install optional libraries:

    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
    
  7. Install the Haskell packages:

     $ cd easyVision/packages
     $ make
    

    The basic system will be correctly installed if "hVision-0.3.0" is shown by

     $ ghc-pkg list
    
  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 84.8%
  • C 12.1%
  • C++ 2.7%
  • Other 0.4%