1. A touch panel system for recognizing a track of an object to execute a corresponding gesture function, comprising: a touch control surface for the object to move on or above to form the track; at least one image sensor for capturing a plurality of continuous pictures including images of the object; and a processor for obtaining a plurality of displacement vectors according to changes in positions of the images of the object, comparing the displacement vectors with a set of basic vectors to obtain a code or a set of codes, and recognizing the code or the set of codes to execute the corresponding gesture function.