Lifting Object Detection Datasets into 3D

João Carreira, Sara Vicente, Lourdes Agapito, Jorge Batista

TL;DR

This paper presents a semi-automatic method to "lift" standard 2D object detection datasets (like PASCAL VOC) into 3D. By combining viewpoint estimation via rigid structure-from-motion with a novel "imprinted visual hull" algorithm that borrows shape information from similar object instances, the authors generate dense 3D reconstructions for thousands of objects using only existing 2D annotations.

What Problem Does This Paper Address?

Acquiring ground-truth 3D shapes for objects in "wild" images is a major bottleneck in computer vision. While 2D datasets like PASCAL VOC and ImageNet have millions of images, 3D scanning is expensive and doesn't scale to the diversity of real-world objects.

The authors tackle the challenge of class-based 3D reconstruction: reconstructing a 3D surface from a single 2D image by leveraging the fact that we have many images of similar objects (e.g., many different cars or birds) seen from different angles. The goal is to populate existing 2D datasets with 3D geometry automatically, providing a bridge between 2D recognition and 3D understanding.

Methods

The pipeline consists of two main phases:

  1. Camera Viewpoint Estimation and Refinement:
    • The algorithm first estimates the camera pose for every object instance using a factorization-based Rigid Structure-from-Motion (SfM) approach applied to 2D keypoint annotations.
  2. Because rigid SfM is a "flawed" assumption for deformable categories (like birds), they use it as a regularizer and then perform silhouette-based refinement. This step adjusts the viewpoint so that the projected 3D "mean shape" of the class fits perfectly within the object's 2D segmentation mask.
  3. Imprinted Visual Hull Reconstruction:
    • Shape Surrogates: Since they only have one view of a specific object, they "borrow" views from other instances of the same class (surrogates) that were photographed from different, "far apart" angles.
  4. Visual Hull Sampling: They generate multiple 3D proposals by intersecting the projection cone of the target object with the cones of these surrogates.
  5. Imprinting (The Novel Part): Standard visual hulls are sensitive to noise and "over-carving" (where a mismatched surrogate cuts away too much of the shape). The authors introduce "imprinting," a formulation that enforces silhouette consistency. It ensures that every foreground pixel in the original image is accounted for by at least one 3D voxel, effectively "filling in" parts that surrogates might have erroneously removed.
  6. Reconstruction Selection:
    • The system generates 20 candidate reconstructions per object and selects the best one by comparing its projections against an "average mask" for the class's principal directions.

Datasets

  • PASCAL VOC 2012: The primary target. They processed 9,087 fully visible objects across 20 categories.
  • Pascal3D+: Used to evaluate viewpoint estimation accuracy against human-provided 3D annotations.
  • Synthetic PASCAL VOC: A custom dataset created by the authors using 3D CAD models rendered with VOC-like viewpoints and noise to provide a quantitative "ground truth" for shape reconstruction error.

Key Insights and Ideas

  • Rigid SfM as a Regularizer: Even for non-rigid objects (like dogs), assuming rigidity during the initial viewpoint estimation provides a stable starting point that outperforms more complex non-rigid SfM methods which are often sensitive to noise.
  • The Power of Surrogates: You don't need multiple views of the same physical object if you have a large enough dataset. Other instances of the same category can act as "stand-ins" to provide the missing geometric information.
  • Imprinting solves the "Over-carving" Problem: By treating the reconstruction as a labeling problem with a "must-cover" constraint for the reference silhouette, they allow the algorithm to be robust to the natural shape variations between different instances of a class.

Key Results

  • Viewpoint Accuracy: The median error for camera azimuth and elevation was under 10 degrees for most classes, which is comparable to the precision of human annotators.
  • Shape Reconstruction: On the synthetic benchmark, the proposed method achieved a significantly lower symmetric root mean square error (Mean: 6.96) compared to baselines like "Puffball" (9.57) or simple SfM convex hulls (9.40).
  • Efficiency: The system is highly scalable, taking only about 7 hours to reconstruct the entire PASCAL VOC dataset on a standard 12-core machine.

Limitations and Future Work

  • Articulation and Occlusion: The current model struggles with highly articulated objects (e.g., a person sitting vs. standing) and does not explicitly handle occlusions.
  • Perspective Effects: The use of scaled orthographic cameras is a reasonable approximation but leads to errors in classes with strong perspective, such as long trains or buses.
  • Average Shape Assumption: Relying on a single "average shape" for a whole class (like "boat") is difficult when the class contains high intra-class variety (e.g., a kayak vs. a cruise ship). The authors suggest that modeling sub-categories would be a promising next step.
  • Concavities: Visual hulls, by definition, cannot recover concavities (like the seat of a sofa). The authors suggest future work could integrate stereo-based post-processing to handle these details.

Summary updated

BibTeX
@article{carreira2016lifting,
  author = {João Carreira and Sara Vicente and Lourdes Agapito and Jorge Batista},
  title = {{Lifting Object Detection Datasets into 3D}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2016},
  url = {https://openreview.net/forum?id=DTqcdo7coxt},
}
Figure