Once fingertips are detected, we track them based on matching the newly detected fingertips to the previously
tracked fingertips. Similar to [21], we track the fingertip trajectory by a matching algorithm that minimizes the displacement of pairs of fingertips over two frames. In addition, we use our knowledge about the centroid of the hand blob to effectively handle large movements of the hand as follows: The matching cost is minimized as