Detecting and recognizing hand gestures using a regular webcam