It uses OpenCV image processing libraries - see here and here
Compilation instructions (in Ubuntu):
sudo apt-get install libcv-dev libcv1 libcvaux-dev libcvaux1 libhighgui-dev libhighgui1
pkg-config --libs opencv; pkg-config --cflags opencv
PKG_CONFIG_PATH=/usr/lib/pkgconfig/:${PKG_CONFIG_PATH}
export PKG_CONFIG_PATH
gcc `pkg-config --cflags --libs opencv` -o Rspat Rspat.c
Usage in the terminal:
./Rspat IMG_0208.JPG
The program:
1 comment:
Your piece of code seems interesting, but unfortunally, the copy-paste seems to have scrambled some line of the C code. Is it possible for you to change that back ?
Thanks.
Post a Comment