CVAM: Add the initial program based on the reference.

Original program can be found here: http://nashruddin.com/template-matching-in-opencv-with-example.html
This commit is contained in:
Bradlee Speice
2012-06-20 15:55:19 -04:00
parent c5d2c9a3d0
commit a4906c7d9a
2 changed files with 109 additions and 0 deletions

16
Makefile Normal file
View File

@ -0,0 +1,16 @@
all: cva-match
debug: cva-match-debug
gcc cva-match.o `pkg-config --libs opencv` -o cva-match
cva-match: cva-match.o
gcc cva-match.o `pkg-config --libs opencv` -o cva-match
cva-match-debug: cva-match-debug.o
gcc cva-match.c -DDEBUG `pkg-config --cflags opencv` -c -o cva-match.o
cva-match.o:
gcc cva-match.c `pkg-config --cflags opencv` -c -o cva-match.o
clean:
rm *.o cva-match