[Paper Review] Small Object Detection for Near Real-Time Egocentric Perception in a Manual Assembly Scenario
This paper proposes a two-stage small object detection pipeline for near real-time egocentric perception in manual assembly, leveraging CAD-generated synthetic data and contextual awareness. By first detecting the breadboard (context) and then cropping and re-detecting tiny buttons, the method achieves 70% mAP at IoU=0.10, significantly outperforming single-stage detection.
Detecting small objects in video streams of head-worn augmented reality devices in near real-time is a huge challenge: training data is typically scarce, the input video stream can be of limited quality, and small objects are notoriously hard to detect. In industrial scenarios, however, it is often possible to leverage contextual knowledge for the detection of small objects. Furthermore, CAD data of objects are typically available and can be used to generate synthetic training data. We describe a near real-time small object detection pipeline for egocentric perception in a manual assembly scenario: We generate a training data set based on CAD data and realistic backgrounds in Unity. We then train a YOLOv4 model for a two-stage detection process: First, the context is recognized, then the small object of interest is detected. We evaluate our pipeline on the augmented reality device Microsoft Hololens 2.
Motivation & Objective
- To address the challenge of detecting small objects in low-resolution, egocentric video streams from head-worn AR devices.
- To overcome limited real-world training data for tiny objects by generating high-quality synthetic data from CAD models.
- To improve detection accuracy by leveraging contextual knowledge—detecting the object's context (e.g., breadboard) before focusing on the small object (e.g., button).
- To achieve near real-time inference (9.4 fps) on an edge device for deployment on Microsoft HoloLens 2.
- To evaluate the effectiveness of hierarchical detection in reducing false positives and improving mAP for small objects.
Proposed method
- Synthetic training data was generated using Unity 3D by rendering CAD models of small objects (e.g., buttons) from multiple viewpoints and under varying lighting and background conditions.
- Domain randomization was applied by combining synthetic object renderings with real-world background images to improve generalization.
- A two-stage YOLOv4 detection pipeline was implemented: first detecting the context (breadboard), then cropping and re-detecting the small object (button) in the cropped region.
- The first-stage model detects the breadboard; the second-stage model, fine-tuned on cropped regions, detects the tiny buttons with higher resolution and context-aware features.
- Training used transfer learning from YOLOv4.conv.137, with data augmentation (rotation, shear) and 2000 epochs for the real-data experiment.
- Edge inference was performed on a laptop with an RTX 2080, processing the Hololens 2 camera stream in real time.
Experimental results
Research questions
- RQ1Can synthetic data generation from CAD models significantly improve detection performance for small objects in egocentric AR scenarios?
- RQ2Does a two-stage detection pipeline—first detecting context, then focusing on the small object—improve mAP compared to single-stage detection?
- RQ3Can contextual awareness reduce false positives and improve generalization on real-world test data with varying lighting and occlusion?
- RQ4Is the two-stage pipeline efficient enough for near real-time deployment on edge devices with Hololens 2 input?
- RQ5To what extent does domain randomization with real backgrounds improve generalization of synthetic training data?
Key findings
- The single-stage model trained on real images alone achieved only 2.6% mAP at IoU=0.10, indicating poor generalization due to limited training data.
- Training on a larger synthetic dataset (3,800 images) improved mAP for button detection to 44% at IoU=0.10, showing the benefit of synthetic data.
- The two-stage pipeline achieved 70% mAP at IoU=0.10 for button detection, a significant improvement over the single-stage approach.
- The two-stage method reduced false detections by leveraging context, as evidenced by higher mAP on cropped regions compared to full-image detection.
- The pipeline achieved 9.4 fps on an edge device, meeting the threshold for near real-time performance in industrial AR applications.
- The combination of CAD-based synthetic data, domain randomization, and hierarchical detection proved essential for robust small object detection in egocentric settings.
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.