Home

Projects

Publications

Resume

 

Classifying Human Motion in a Virtual Environment

This Quake II mod is part of a semester project for a Data Mining course. The player's position and orientation are tracked as the player moves through the level. A support vector machine can classify whether the motion of the player matches a target motion. The motion models were created with the svm-light toolkit by Thorsten Joachims. Quake II is copyright ID Software.

Download -

Instructions for use -

For anything to work, you will need to load the "research" map with the console command "map research"

Use the following console commands to load an existing model:

  • "loadsvm " # this loads in the actual SVM model
  • "loadscales " # this loads in a set of scale factors that normalizes the data for classification

This release comes with 2 existing models: corner.dat and m-model-good.dat. corner.dat will recognize a player going around the corner in the map, while m-model-good.dat will recognize a player tracing out the letter M on the floor in the back of the map.

To actually classify a motion, use the console command "classify" which begins recording a motion trace. After the motion trace is complete, the classifier will tell you if you were successful. For simplicity, this command has been bound to the keypress 'g'

It is also possible to record new data sets with mod and create new models. If anybody is interested, send me an