It is a game controller that tracks object based on the colour. This game controller simulates the functioning of the key strokes and controls the game without touching the keyboard. It is an attempt to find a different method of human computer interaction and find new ways to interact with the computer. This game controller is expected to work in every racing based game. This aims to provide a new experience in gaming.
It is basically a 9 step process that consist of:
- Getting the video input from the webcam
- Converting to HSV color model
- Marker detection (Filtering)
- Marker tracking
- Observe user’s action from the markers
- Interpret user’s actions
- Take action based on user’s actions
- Generate Key Events to control the game
- Repeat these steps until ESC key is pressed.
These unnecessary small white patches can be eliminated by applying morphological operations.Morphological operations can be achieved by erosion, followed by the dilation with the same structuring element.