Skip to content
Haskell bindings for OpenCV
Haskell C
Find file
Pull request Compare This branch is 140 commits ahead, 61 commits behind sinelaw:master.
Latest commit 4c0e5d3 @acowley Merge pull request #2 from aavogt/master
working functions for contours & restrict createVideoWriter
Failed to load latest commit information.
src createVideoWriter should not accept Monochrome images
.gitignore Fixed several FFI bugs exposed on 64bit builds.
HOpenCV.cabal working contouring Updated notice of OpenCV compatibility with 2.3.1 in README.


OpenCV bindings for Haskell (tested with OpenCV 2.1, 2.2, 2.3.0, and 2.3.1).

  • Image color channel count and color depth are statically checked.

  • A functional interface is provided through the HighCV module.

  • When operations are directly composed, they will be performed in-place where possible as the intermediate images are not observable. GHC's optimizations must be enabled (e.g. -O2).

  • See src/Examples for example programs. In particular, the VideoFunhouse executable demonstrates realtime image processing on either the video feed from a webcam or a video file. Fusion of in-place operations is demonstrated along with light-weight parallelism.

NOTE: Only a small part of OpenCV is currently wrapped.

Something went wrong with that request. Please try again.