Politics, Programming and Possibilities
1 Feb
OpenCV is a fast and well-designed C library for computer vision research and development. Since I’m not aware of an OpenCV library for Mac OS X, I’m using my old Ubuntu box to get things up and running.
So I don’t forget what I did, here’s some of the configuration I had to do:
#!/bin/sh
export LD_LIBRARY_PATH=/usr/local/lib
echo `pkg-config --cflags opencv`
echo `pkg-config --libs opencv`
g `pkg-config --cflags opencv` -g -o igaze igaze.c `pkg-config --libs opencv`
./igaze
One Response for "Setting up OpenCV on Ubuntu"
Note that OpenCV is in Ubuntu’s repositories, packaged as libcv1, libcv-dev and opencv-doc.
Leave a reply