OpenCV

OpenCV (Open Source Computer Vision) is a C library mainly aimed at real time computer vision. The user manual is here. Also a useful stolen help page.

OpenCV is installed on our system. To compile and run a simple example, download the example C file and makefile, and a sample image. Type make to compile and link. Then type ./OpenCVdemo to run the demo. The example worked for me with no problems. If you are including python code, you may need to include this in your .cshrc file:

setenv LD_LIBRARY_PATH "/usr/lib/python:$LD_LIBRARY_PATH"

More examples can be found here; the flags in the makefile may need adjusting to match.

If you are using the RAVL C++ library, there are functions that convert between RAVL and OpenCV images.


Bill Christmas
Last modified: Thu Jan 29 14:53:48 GMT 2009