Abstract
The confluence of robust algorithms for structure from motion along with high-coverage mapping and imaging of the world around us suggests that it will soon be feasible to accurately estimate camera pose for a large class of photographs taken in outdoor, urban environments. In this paper, we investigate how such information can be used to improve the detection of dynamic objects such as pedestrians and cars. First, we show that when rough camera location is known, we can utilize detectors that have been trained with a scene-specific background model in order to improve detection accuracy. Second, when precise camera pose is available, dense matching to a database of existing images using multi-view stereo provides a way to eliminate static backgrounds such as building facades, akin to background-subtraction often used in video analysis. We evaluate these ideas using a dataset of tourist photos with estimated camera pose. For template-based pedestrian detection, we achieve a 50 percent boost in average precision over baseline.
Introduction
Standard object detectors, such as the classic HOG (Dalal-Triggs) or Deformable Parts Models (DPM), are typically "generic"—trained on diverse datasets to recognize objects anywhere. However, specific locations often contain unique "distractors." For instance, a generic detector might frequently mistake a gothic statue on a cathedral for a pedestrian. While video surveillance solves this using background subtraction from a static camera, this is traditionally impossible for unstructured tourist photos. This research explores how to leverage millions of existing photos of a location to build a "background model" for a brand-new, unstructured photo.
Methodology
The proposed framework utilizes Structure-from-Motion (SfM) and Multi-View Stereo (MVS) to enhance detection through three primary strategies:
1. Scene-Specific Negative Mining (+SS-)
By identifying static regions within a 3D model (e.g., Notre Dame), the system automatically harvests these areas as "negative" training examples. This allows the detector to learn that specific architectural details are not pedestrians, effectively tailoring the model to the location without manual labeling.
2. Multi-View Background Subtraction (MVBS)
When a new photo is taken, the system estimates its camera pose relative to the 3D model. It generates a "background score map" by matching pixels to the known 3D geometry. Detections are pruned if their bounding boxes contain a high proportion of static background pixels (e.g., >20%).
3. Geometric Consistency (+GC)
The 3D model provides the camera's orientation and horizon line. The system uses this to enforce physical constraints, discarding detections that appear in impossible locations, such as floating in the sky or positioned on rooftops.
Experimental Results
The approach was evaluated on a dataset of Notre Dame photos. The integration of scene-specific information yielded substantial improvements in Average Precision (AP). For the Dalal-Triggs (DT) baseline, the AP increased from 0.296 to 0.451 when all components (+SS-, MVBS, and GC) were combined, representing a relative boost of approximately 50%.
The more advanced DPM detector also saw significant gains, with its AP rising from 0.455 to 0.551 through scene-specific negative mining alone.
Discussion and Limitations
The primary strength of this method is its scalability; it leverages existing 3D geometry to improve detection in an unsupervised manner. However, it requires a dense collection of photos to build accurate 3D models, limiting its use in remote or unmapped areas. Additionally, the current model does not explicitly account for "semi-static" objects like parked cars. Future work may involve using surface normals and physical affordances to further refine object placement logic.
Summary updated