Scalable Mask Annotation for Video Text Spotting
Haibin He, Jing Zhang, Mengyang Xu, Juhua Liu, Bo Du, Dacheng Tao
TL;DR
This work introduces SAMText, a scalable mask-annotation pipeline that leverages the Segment Anything Model (SAM) to convert existing video text bounding boxes into high-quality segmentation masks, addressing limitations of traditional quadrilateral annotations in video text spotting. By processing five public datasets, the authors create SAMText-9M, a large-scale resource with approximately 2,400 video clips and over 9 million masks, enabling mask-based training and exploration of curved-text scenarios. They provide extensive analyses of the generated masks, including IoU, CoV, and spatial distributions, and discuss promising directions such as data/model scalability and character-level mask generation. The dataset and methodology offer a foundation for improved video text detection, recognition, and segmentation, with code and data to follow.
Abstract
Video text spotting refers to localizing, recognizing, and tracking textual elements such as captions, logos, license plates, signs, and other forms of text within consecutive video frames. However, current datasets available for this task rely on quadrilateral ground truth annotations, which may result in including excessive background content and inaccurate text boundaries. Furthermore, methods trained on these datasets often produce prediction results in the form of quadrilateral boxes, which limits their ability to handle complex scenarios such as dense or curved text. To address these issues, we propose a scalable mask annotation pipeline called SAMText for video text spotting. SAMText leverages the SAM model to generate mask annotations for scene text images or video frames at scale. Using SAMText, we have created a large-scale dataset, SAMText-9M, that contains over 2,400 video clips sourced from existing datasets and over 9 million mask annotations. We have also conducted a thorough statistical analysis of the generated masks and their quality, identifying several research topics that could be further explored based on this dataset. The code and dataset will be released at \url{https://github.com/ViTAE-Transformer/SAMText}.
