diff src/testApp.cpp @ 35:6fb77b20413c

updating multimatcher for euclidean distance in chroma too
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Sun, 08 Apr 2012 18:59:30 +0100
parents 4be22a1a0e24
children eb43b2a007ea
line wrap: on
line diff
--- a/src/testApp.cpp	Tue Apr 03 13:13:38 2012 +0100
+++ b/src/testApp.cpp	Sun Apr 08 18:59:30 2012 +0100
@@ -152,6 +152,10 @@
 		
 	}
 	
+	if (key == 'd'){
+		eventMatcher.useChromaDotProduct = !eventMatcher.useChromaDotProduct;
+		printf("Use dot product is %i\n", eventMatcher.useChromaDotProduct);
+	}
 	
 	if (key == ' '){