Permalink
Browse files

Use right arrow for changing stache

  • Loading branch information...
1 parent 41c9a61 commit ef304b23ccb84d5636a74a1cab04c4b4d31012a6 @jadonk committed Apr 22, 2013
Showing with 7 additions and 7 deletions.
  1. +6 −6 Makefile
  2. +1 −1 stache.cpp
View
@@ -6,12 +6,12 @@ CFLAGS=`pkg-config --static --libs opencv` -O3
#CFLAGS := `pkg-config --static --libs opencv | perl -pe "s/\/Users\/jason\/gentoo\/usr\/lib/\/usr\/local\/lib/g"`
#CFLAGS := `pkg-config --static --libs opencv | perl -pe "s/\/Users\/jason\/gentoo\/usr\/lib/\/usr\/local\/lib/g" | perl -pe "s/\.dynlib/\.a/g"` /Developer/SDKs/MacOSX10.7.sdk/usr/lib/crt1.o
#CFLAGS := `pkg-config --static --libs opencv | perl -pe "s/\/Users\/jason\/gentoo\/usr\/lib/\/usr\/local\/lib/g" | perl -pe "s/\.dynlib/\.a/g"` /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/crt1.o
-CFLAGS := -l/usr/local/lib/libopencv_calib3d.dylib -l/usr/local/lib/libopencv_contrib.dylib -l/usr/local/lib/libopencv_core.dylib \
- -l/usr/local/lib/libopencv_features2d.dylib -l/usr/local/lib/libopencv_flann.dylib -l/usr/local/lib/libopencv_gpu.dylib \
- -l/usr/local/lib/libopencv_highgui.dylib -l/usr/local/lib/libopencv_imgproc.dylib -l/usr/local/lib/libopencv_legacy.dylib \
- -l/usr/local/lib/libopencv_ml.dylib -l/usr/local/lib/libopencv_nonfree.dylib -l/usr/local/lib/libopencv_objdetect.dylib \
- -l/usr/local/lib/libopencv_photo.dylib -l/usr/local/lib/libopencv_stitching.dylib -l/usr/local/lib/libopencv_ts.dylib \
- -l/usr/local/lib/libopencv_video.dylib -l/usr/local/lib/libopencv_videostab.dylib -I/usr/local/include
+#CFLAGS := -l/usr/local/lib/libopencv_calib3d.dylib -l/usr/local/lib/libopencv_contrib.dylib -l/usr/local/lib/libopencv_core.dylib \
+# -l/usr/local/lib/libopencv_features2d.dylib -l/usr/local/lib/libopencv_flann.dylib -l/usr/local/lib/libopencv_gpu.dylib \
+# -l/usr/local/lib/libopencv_highgui.dylib -l/usr/local/lib/libopencv_imgproc.dylib -l/usr/local/lib/libopencv_legacy.dylib \
+# -l/usr/local/lib/libopencv_ml.dylib -l/usr/local/lib/libopencv_nonfree.dylib -l/usr/local/lib/libopencv_objdetect.dylib \
+# -l/usr/local/lib/libopencv_photo.dylib -l/usr/local/lib/libopencv_stitching.dylib -l/usr/local/lib/libopencv_ts.dylib \
+# -l/usr/local/lib/libopencv_video.dylib -l/usr/local/lib/libopencv_videostab.dylib -I/usr/local/include
all: stache
View
@@ -112,7 +112,7 @@ int main(int argc, const char** argv) {
if(!frame.empty()) {
detectAndDisplay( frame );
c = waitKey(10);
- if( c == 65362 ) { changeStache(argc, argv); } //-- change stache on press of up arrow
+ if( c == 65363 ) { changeStache(argc, argv); } //-- change stache on press of right arrow
} else {
fprintf(stderr, " --(!) No captured frame -- Break!\n");
break;

0 comments on commit ef304b2

Please sign in to comment.