A medical device we were developing was made more user friendly for children by incorporating games for them to play while simultaneously receiving treatment. We developed a system that used computer vision to respond to the child’s movements to control the game.