Rahmenbedingung
Für die Realisierung des Spiels PONG, die nur mit Hilfe der Hand über die WebCam gesteuert werden soll, möchte ich erst einmal, die Rahmenbedingungen festlegen.
Mit dem Einsatz von Algorithmen und Techniken der Bildverarbeitung und mit Hilfe der Webcam, die Hand als Hand zuerkennen und anschließend durch die „erkannte“ Hand und Bestimmung der Position der Hand, den Balken des Spiels PONG, in Echtzeit über die Hand zusteuern.
Im ersten Schritt, möchte ich die Rahmenbedingung in einfachster Form festlegen und nach erfolgreicher Realisierung diese erweitern.
Für eine gelungene Bildaufnahme bzw. zum Erkennung der Hand möchte I place the following conditions.
- need the hand of the player are of the reception area.
- The palm should be moved in the direction of the camera.
- For a start I would like to select a monotonous background which the hand is easier to determine.
the beginning of the implementation phase, I will decide for example, a monotonous background color that is not identical with the skin color. This could for example be the color blue or green.
After a successful test results, I would then expand this to all sorts of backgrounds.
is interesting in it Wonder how I will recognize the hand of a hand. There are several image processing algorithms. One way to use that I want is the recognition of the hand by determining color values.
problems that can arise with this method is, for example, that the hand of the player, directly in front of the player would face. In such a situation, one would have the hand may be different from the face.