Abstract
High-quality pixel-level annotation is a significant bottleneck in computer vision. We present EISeg, an open-source interactive segmentation tool built on the PaddlePaddle framework. EISeg utilizes a novel "EdgeFlow" algorithm to convert complex annotation tasks into a series of simple user clicks. By incorporating domain-specific models and optimizing for CPU performance, EISeg achieves state-of-the-art accuracy and efficiency, making professional-grade dataset creation accessible and private.
Introduction
The "data bottleneck" remains a primary challenge in deep learning for image segmentation. While models have advanced significantly, they require vast amounts of high-quality, pixel-level annotated data. Traditional tools like LabelMe require tedious manual tracing, while advanced AI-assisted tools often suffer from deployment difficulties, steep learning curves, or privacy concerns associated with cloud-based platforms.
EISeg bridges this gap by providing an easy-to-deploy, local-first tool that uses "human-in-the-loop" AI to drastically reduce annotation time. Users can achieve precise segmentation masks with just a few clicks, as shown in the interface.
Methods: The EdgeFlow Algorithm
The core of EISeg is the EdgeFlow algorithm, designed specifically for interactive segmentation. Unlike static models, EdgeFlow reacts dynamically to positive and negative user clicks.
Architecture
The technical architecture consists of several key components:
- Early-Late-Fusion: This architecture prevents the user's Region of Interest (ROI) information from dissipating in deeper network layers, maintaining focus on user-specified areas.
- Edge-Guided Flow: By using edge information as a prior, the model maintains stability across successive interactions, preventing new clicks from "breaking" previously correct mask sections.
- Coarse-to-Fine Network: As illustrated in the architecture diagram, the system employs a "CoarseNet" (HRNet-18 + OCR) for initial estimation and a "FineNet" with atrous convolutions for boundary refinement.
Video and Domain Optimization
For video tasks, EISeg implements a memory-bank approach to propagate masks across frames. Furthermore, the tool includes specialized toolboxes for remote sensing (GIS support) and medical imaging (DICOM windowing), utilizing domain-specific weights to improve accuracy in these specialized fields.
Results and Evaluation
The underlying models were evaluated on standard benchmarks including GrabCut, Berkeley, Pascal VOC, and DAVIS.
Accuracy
EISeg demonstrates state-of-the-art performance. On the Berkeley dataset, it requires an average of only 2.40 clicks to reach 90% IoU (Intersection over Union), significantly outperforming previous leaders like RITM. On GrabCut, it reaches the same threshold in just 1.72 clicks.
Efficiency and Speed
The tool is highly optimized for accessibility. Through static graph model inference, the authors achieved a 10x speedup. On a standard GPU, response time is approximately 20ms. On a standard CPU, it remains highly interactive with feedback times between 140ms and 500ms, ensuring a smooth user experience without specialized hardware.
Conclusion
EISeg provides a robust solution to the annotation bottleneck by combining high-performance interactive algorithms with a user-friendly, privacy-conscious interface. While challenges remain in segmenting extremely thin structures, the tool's stability and domain-specific optimizations represent a significant step forward in making high-quality data generation efficient and accessible.
Summary updated