Skip to content

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.

Notifications You must be signed in to change notification settings

bharathaiys/PDollar-RecognitionEngine

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published