Introduction
Mirrors present a unique challenge for computer vision systems. Because they reflect their environment, they often mislead depth estimation, lane detection, and scene parsing algorithms. While dedicated mirror detection networks exist, they typically rely on fully supervised learning, which requires expensive, pixel-level mask annotations. Furthermore, these models are often trained on datasets containing only images with mirrors, leading them to "hallucinate" mirrors in scenes where none exist—mistaking glossy monitors or windows for reflective surfaces.
To address these issues, this paper introduces ZOOM (Zero-One Mirror indicators), the first video mirror detection model trained using extremely weak supervision: simple binary (0/1) labels indicating the presence or absence of a mirror in a frame.
Methodology
ZOOM leverages the temporal dynamics of video to localize and segment mirrors without pixel-level ground truth. The architecture operates in two primary phases:
1. Temporal Fusion for Localization
Since the model only receives frame-level labels, it employs modified Class Activation Maps (CAMs) to identify the regions the network focuses on when predicting a mirror's presence. To refine these noisy maps, ZOOM uses a temporal fusion strategy. It compares activation maps from adjacent frames (where the mirror is present) and subtracts the activation map of a distant, non-mirror frame. This process isolates the mirror and generates a reliable pseudo-ground truth mask.
2. Similarity-Contrast Module for Segmentation
To produce clean segmentation boundaries, the model exploits the physics of reflection. Reflected content changes smoothly across adjacent frames but differs significantly from distant frames. Using a ResNeXt-101 backbone with Squeeze-and-Excitation (SE) blocks and Atrous Spatial Pyramid Pooling (ASPP), ZOOM enforces feature similarity between mirror regions in adjacent frames and feature contrast against non-mirror regions in distant frames.
Datasets
The authors introduced a new Video Mirror Dataset comprising 200 videos (12,490 frames) from sources like Charades and self-captured footage. Unlike previous benchmarks, this dataset explicitly includes frames without mirrors to evaluate a model's ability to avoid false positives.
Key Results
ZOOM demonstrates that temporal dynamics can serve as a powerful supervisory signal. By training on a dataset that includes negative examples, the model learns to output nothing when no mirror is present, a significant advantage over fully supervised counterparts.
- Reduction in False Positives: On non-mirror frames, ZOOM achieved a True Negative Rate (TNR) of 0.994, vastly outperforming fully supervised models like VMDNet (TNR of 0.910), which frequently over-segmented non-mirror scenes.
- Competitive Segmentation: Despite the weak labels, ZOOM achieved an Intersection over Union (IoU) of 0.513 on mirror frames, remaining competitive with fully supervised models while drastically reducing annotation costs.
- Efficiency: The model operates at 19 FPS, making it suitable for real-time video processing.
Conclusion and Future Work
ZOOM proves that robust mirror detection is possible with minimal supervision by leveraging temporal consistency and contrast. While the model currently struggles with very small mirrors or highly distracting glossy surfaces, it represents a major step toward more efficient and reliable scene understanding. Future research may incorporate geometric priors to further distinguish true mirrors from other reflective materials.
Summary updated