[Paper Review] Scalable Mask Annotation for Video Text Spotting
This paper proposes SAMText, a scalable mask annotation pipeline for video text spotting that leverages the Segment Anything Model (SAM) to generate fine-grained segmentation masks at scale. Using this method, the authors created SAMText-9M, a large-scale dataset with over 9 million mask annotations across 2,400 video clips, enabling improved performance on complex text scenarios such as curved or dense text.
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}.
Motivation & Objective
- Address the limitations of existing video text spotting datasets that rely on coarse quadrilateral bounding boxes, which lead to inaccurate text boundaries and poor performance on curved or dense text.
- Reduce the high labor cost of manual mask annotation for large-scale video datasets by automating the process using a foundation model.
- Enable high-quality, fine-grained mask annotations for video text spotting to improve model generalization and support advanced tasks like curved text recognition and video text segmentation.
- Create a large-scale, diverse, and high-quality dataset (SAMText-9M) to advance research in video text spotting and related downstream tasks.
Proposed method
- Leverage the pre-trained Segment Anything Model (SAM) to generate segmentation masks from input bounding boxes, either from existing datasets or predictions from a scene text detection model.
- Design a scalable pipeline that processes individual video frames or image crops, using prompt-based segmentation to generate precise mask annotations for each text instance.
- Collect five existing video text datasets—ICDAR15, RoadText-1K, LSVTD, BOVText, and DSText—as input sources for mask generation.
- Apply SAM with point or box prompts to generate instance-level masks, ensuring high precision even for irregularly shaped or curved text.
- Perform quality control and statistical validation on the generated masks to ensure reliability and consistency across diverse video scenarios.
- Construct SAMText-9M by aggregating mask annotations from all input datasets, resulting in a large-scale, multi-scenario, multi-language video text dataset with fine-grained supervision.
Experimental results
Research questions
- RQ1To what extent do mask annotations improve video text spotting performance compared to traditional quadrilateral or bounding box annotations?
- RQ2How does the inclusion of fine-grained mask annotations affect model generalization, especially for curved or densely packed text?
- RQ3What is the impact of increasing training data scale—particularly with high-quality mask annotations—on model performance and scalability?
- RQ4Can the SAM-based pipeline be effectively extended to generate character-level mask annotations for fine-grained text editing and recognition tasks?
Key findings
- The SAMText pipeline successfully generated over 9 million high-quality mask annotations across 2,400 video clips from five existing datasets, significantly expanding the scale of fine-grained video text annotation.
- The resulting SAMText-9M dataset exhibits diverse spatial distributions of text masks, including homogeneous patterns (e.g., DSText) and region-specific clustering (e.g., upper regions in ICDAR15 and RoadText-1K), enhancing model robustness.
- The dataset supports advanced research in video text segmentation, tracking, and recognition, particularly for challenging scenarios such as curved or dense text, due to the precision of mask-level supervision.
- Statistical analysis of the mask quality confirms the reliability of the annotations, enabling future work on data and model scalability in video text spotting.
- The pipeline enables scalable, low-cost generation of fine-grained annotations, reducing dependency on expensive manual labeling while maintaining high annotation fidelity.
- The availability of SAMText-9M opens new research avenues in model scalability, particularly for vision transformer-based architectures that benefit from large-scale, high-quality supervision.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.