def testSystem2():
	data = loadData()
	gestures = realtimeGR1.extractGestures1(data)
	
	g2 = [(g, 1.0) for g in gestures[0][1:]]#reformat and remove the first one
	
	gr = gestureDistanceCalculator.GestureDistanceCalculator(g2)
	
	for i in range(2, 8):
		input = [d[0] for d in data[i:i+l1+l2]]
		#print input
		#print '\n\n\n' + str(input)
		distance, input, ouput = gr.getOutput(input)
		print i, distance
def testNonGestureExtraction():
	data = loadData()
	gestures = realtimeGR1.extractGestures1(data)[0]