Visual tracking is important in computer vision. At present, although many algorithms of visual tracking have been proposed, there are still many problems which are needed to be solved, such as occlusion and frame speed. To solve these problems, this paper proposes a novel method which based on compressive tracking. Firstly, we make sure the occlusion happens if the testing result about image features by the classifiers is lower than a threshold value which is certain. Secondly, we mark the occluded image and record the occlusion region. In the next frame, we test both the classifier and the marked image. This algorithm makes sure the tracking is fast, and the result about solving occlusion is much better than other algorithms, especially compressive tracking.