Abstract
OneShotLP is a novel training-free framework designed for robust video license plate tracking and recognition (ALPR) using only a single point annotation in the initial frame. By integrating foundation models for point tracking (CoTracker), segmentation (EfficientSAM), and multimodal language processing (Monkey-Chat), the system achieves high accuracy across diverse plate styles without region-specific training. This approach overcomes the "brittleness" of traditional ALPR systems, offering a universal solution that generalizes effectively to new environments.
Introduction
Automatic License Plate Recognition (ALPR) systems are traditionally "brittle," often failing when deployed in regions with different fonts, colors, or layouts than those present in their training data. Adapting these models typically requires collecting and labeling thousands of images for every new region, a process that is both resource-intensive and computationally heavy.
OneShotLP addresses this challenge by asking: Can we build a universal system that works out of the box for any plate type, without any training at all? By leveraging the zero-shot generalization power of modern foundation models, OneShotLP provides a pipeline that requires only a single "one-shot" point annotation to track and recognize license plates in video sequences.
Methodology
The OneShotLP pipeline operates in three distinct phases:
1. Tracking Module (CoTracker)
Instead of traditional bounding box tracking, which can drift due to background noise, the system utilizes CoTracker to track specific points on the license plate. Starting from a single user-provided point in the first frame, a "Crosshairs Sampling" strategy generates multiple tracking points. This ensures a stable trajectory even under varying lighting conditions or perspective shifts.
2. Segmentation Module (EfficientSAM)
The tracked points serve as prompts for EfficientSAM, a lightweight version of the Segment Anything Model. In each frame, EfficientSAM uses these coordinates to generate a precise mask around the license plate, effectively performing high-accuracy detection and localization.
3. Recognition Module (Monkey-Chat MLLM)
Recognition is treated as a Visual Question Answering (VQA) task using the Monkey-Chat Multimodal Large Language Model (MLLM). The system crops the plate patch and prompts the MLLM to describe the text. To enhance accuracy, the framework employs Prompt Engineering, including Chain-of-Thought (CoT) prompts for step-by-step reading and Position Prompts to guide the model's attention to typical plate locations.
Experimental Evaluation
The framework was evaluated on two Brazilian license plate datasets: UFPR-ALPR (150 video clips of vehicles in motion) and SSIG-SegPlate (2,000 images/videos from fixed cameras).
Key Results
Despite being training-free, OneShotLP demonstrates performance comparable to supervised models:
- Detection: Achieved a 98.5 F1-score on UFPR-ALPR, outperforming several YOLO variants and specialized detectors.
- Recognition: Reached 90.0% accuracy for plates with 6+ characters and 80.0% for 7+ characters on UFPR-ALPR.
Discussion and Insights
- Point Tracking vs. Bounding Boxes: Tracking specific points on the plate rather than a box makes the system significantly more robust to perspective changes.
- Resolution Sensitivity: MLLMs are sensitive to input resolution. The authors found that "Center Cropping" the plate patch while maintaining its aspect ratio and resolution yielded superior results compared to simple resizing.
- Prompting as Optimization: The study highlights that system prompts (e.g., "The license plates are always located at the bottom of the vehicle") can significantly boost MLLM recognition accuracy without altering model weights.
Conclusion and Future Work
OneShotLP represents a major milestone in generalizable ALPR by eliminating the need for region-specific training data. While the system faces challenges such as MLLM hallucinations in low-resolution frames and higher computational costs compared to specialized chips, it offers a powerful path toward universal intelligent transportation systems. Future work will focus on reducing hallucinations and optimizing the pipeline for real-time applications.
Summary updated