opencv_trail_effect.cpp: set window size and title
[experiments/opencv_trail_effect.git] / Makefile
index 75dde40..195d157 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ ifeq ($(COMPILER), clang)
   LDFLAGS += -Qunused-arguments
 endif
 
   LDFLAGS += -Qunused-arguments
 endif
 
-CXXFLAGS += $(shell pkg-config --cflags opencv4)
+CXXFLAGS += $(shell pkg-config --cflags opencv4 | sed -e 's/-I/-isystem/g')
 LDLIBS += $(shell pkg-config --libs opencv4)
 
 LINK.o = $(LINK.cpp)
 LDLIBS += $(shell pkg-config --libs opencv4)
 
 LINK.o = $(LINK.cpp)
@@ -56,6 +56,9 @@ l_anima_vola: opencv_trail_effect
 average: opencv_trail_effect
        ./opencv_trail_effect -l 10 -s background -d average -B
 
 average: opencv_trail_effect
        ./opencv_trail_effect -l 10 -s background -d average -B
 
+accumulate: opencv_trail_effect
+       ./opencv_trail_effect -b 0 -t 5 -l 25 -s threshold -d accumulate
+
 clean:
        rm -f *.o opencv_trail_effect vgdump gtk.suppression
 
 clean:
        rm -f *.o opencv_trail_effect vgdump gtk.suppression