In this paper, a fast two-cycle level set contour tracking algorithm based on interactive superpixel segmentation is proposed. Then, image retrieval is carried out based on the contour tracking results. The method of contour tracking is divided into three stages: superpixel segmentation, interactive feature extraction, and foreground tracking. In the first phase, the image is preprocessed by a superpixel segmentation method. In the second stage, the feature pools are defined and established interactively according to the complexity of the image. In the last stage, based on the first two stages, a fast two-cycle level set method is used to track the contour of the target object. Finally, the results of the contour tracking are applied to an image matting of the target foreground, and then the foreground image retrieval is implemented. The results of experimental comparisons demonstrate the effectiveness of the proposed method.