Abstract
We present a learning framework for recovering the 3D shape, camera, and texture of an object from a single image. The shape is represented as a deformable 3D mesh model of an object category where a shape is parameterized by a learned mean shape and per-instance predicted deformation. Our approach allows leveraging an annotated image collection for training, where the deformable model and the 3D prediction mechanism are learned without relying on ground-truth 3D or multi-view supervision. Our representation enables us to go beyond existing 3D prediction approaches by incorporating texture inference as prediction of an image in a canonical appearance space. Additionally, we show that semantic keypoints can be easily associated with the predicted shapes. We present qualitative and quantitative results of our approach on CUB and PASCAL3D datasets and show that we can learn to predict diverse shapes and textures across objects using only annotated image collections.
Introduction
Reconstructing 3D objects from 2D images is a fundamental challenge in computer vision. Most existing deep learning approaches rely on "strong supervision"—either 3D CAD models, which are difficult to create for organic categories like birds, or multiple images of the exact same object instance from different angles, which is nearly impossible to capture for wild animals.
This paper presents a learning framework that reconstructs the 3D mesh, camera pose, and texture of an object from a single 2D image. Crucially, it learns these properties using only collections of 2D images annotated with masks and keypoints, bypassing the traditional requirement for expensive 3D ground truth or multi-view supervision. By learning a category-specific deformable mesh model, the system can infer 3D structure from thousands of different 2D photos of various objects within a category.
Methodology
The proposed framework utilizes a Convolutional Neural Network (CNN) to map an input image to three distinct outputs: 3D shape, camera pose, and texture.
Shape and Camera Prediction
The model represents shape by starting with a learned "mean shape"—a generic template for the category—and predicting instance-specific deformations (offsets for each vertex). The mesh maintains a fixed topology based on a sphere, ensuring consistency across the category. Camera pose is predicted to align the 3D model with the 2D image. To jump-start the process, the authors use Structure-from-Motion (SfM) on the 2D keypoints of the training set to obtain initial camera estimates.
Texture Inference
Instead of generating pixels directly, the model predicts a "texture flow." This is a 2D coordinate map that specifies which pixels to sample from the original input image to wrap onto the 3D mesh. This approach avoids the blurriness common in generative texture models and preserves high-frequency details.
Training via Differentiable Rendering
To train without 3D data, the model renders its predicted 3D mesh back into a 2D mask and 2D keypoints. These are compared against ground-truth 2D annotations using a differentiable renderer, allowing error backpropagation. The model also enforces reflectional symmetry and uses a Laplacian loss to ensure surface smoothness.
Evaluation and Results
The framework was evaluated on the CUB-200-2011 bird dataset and the PASCAL3D+ dataset for rigid categories like cars and aeroplanes.
Key Insights
- Mean Shape Prior: By learning a category-level mean shape, the model develops a robust prior. It can infer hidden parts of an object based on the shared structure of the category.
- Canonical Appearance Space: Mapping all instances to a shared mesh structure enables texture transfer, allowing the appearance of one object to be applied to the shape of another.
- Quantitative Performance: On PASCAL3D+, the method achieved a Mean Intersection over Union (IoU) of 0.46 for Aeroplanes and 0.64 for Cars, performing comparably to or better than state-of-the-art methods that often lacked texture or semantic keypoint capabilities.
Conclusion
While the model successfully reconstructs 3D meshes from 2D collections, it faces challenges with extreme articulation (e.g., tightly folded wings) and rare viewpoints. Future work aims to further relax supervision requirements, moving toward completely unsupervised 3D learning from raw image collections.
Summary updated