Tracking gesture to detect gender