Create a game that tracks the position of an object on or above a 18in x 18in mat. There are four targets on the mat. Blue square upper left, Green circle upper right, yellow triangle lower left, pink rectangle lower right.
Track hand/object position estimate x,y,z position using 1 or 2 web cams.
Hand or object can be marked with a colored sticker 2/3 in x 1 3/4in.
Calibrate the camera and map. This can be manual.
The software should ask the user to move the marked object to a target.
Create a reward either as they begin to move towards the target, or when they get to the target (sound, graphic).
The software should store x,y,z position during each trial as well as when the reward was provided.
The data should be stored in a Matlab file and a backed up comma deliminated text file.
The next trial can be started after 30 seconds or with a press of the space bar.
Each line of code should be commented.
All variables names should be meaningful.
There should be a GUI for the software.