bharathaiys / PDollar-RecognitionEngine

This project implements the Gesture Recognition Engine of the NUI pipeline using the $P algorithm in Java. It includes a sample event file and can recognize gestures for various common symbols like an exclamation point, arrowhead and star.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDollar ($P) Recognition Engine in Java

Bharath Shankar

- Running pdollar with no arguments should print a help screen.

-pdollar should support the following arguments

  pdollar –t <gesturefile>
  Adds the gesture file to the list of gesture templates
  
  pdollar -r
  Clears the templates
  
  pdollar <eventstream>
  Prints the name of gestures as they are recognized from the event stream.

HOW TO RUN:

1. make -f makefile
2. java pdollar

gesturefile format (examples to be provided):
GestureName
BEGIN
x,y <- List of points, a point per line ...
x,y
END

eventstream file format (examples to be provided):
MOUSEDOWN
x,y <- List of points, a point per line
MOUSEUP
RECOGNIZE <- When you see this you should output the result .

Example Run:
$pdollar eventstream.txt CROSS
CIRCLE
$

About

This project implements the Gesture Recognition Engine of the NUI pipeline using the $P algorithm in Java. It includes a sample event file and can recognize gestures for various common symbols like an exclamation point, arrowhead and star.


Languages

Language:Java 98.1%Language:Makefile 1.9%