3D Reconstruction from public webcams

Tianyu Wu, Konrad Schindler, Cenek AlblarXiv 2021

Structure-from-Motion (SfM) has matured significantly, enabling the reconstruction of entire cities from crowdsourced tourist photos. However, these successes typically rely on "friendly" data: high-resolution images with significant overlap, small baselines, and rich EXIF metadata. Public webcams represent the "wild west" of computer vision. They typically provide only two viewpoints separated by massive distances, lack internal calibration data, and produce unsynchronized video streams. Furthermore, standard SfM pipelines treat moving objects as noise to be discarded. This research demonstrates that these challenges can be turned into advantages by using dynamic features to bridge the gap between sparse static views.

Methodology

The proposed pipeline adapts recent advances in deep learning and geometric optimization to the webcam scenario. The process moves from raw image streams through calibration and matching to a final spatio-temporal optimization.

The multi-stage pipeline for 3D reconstruction from uncalibrated webcams, highlighting the integration of moving objects into the bundle adjustment.
  1. Auto-Calibration: To handle unknown lens distortion and focal lengths, the system employs a single-view solver to identify "Manhattan frames" (architectural regularities) and a two-view solver that estimates radial distortion and focal length simultaneously from image matches.
  2. Deep Feature Matching: Traditional SIFT descriptors struggle with the extreme perspective shifts inherent in wide-baseline webcam setups. The authors utilize SuperPoint and SuperGlue—neural networks that leverage context and attention mechanisms—to establish correspondences across drastic viewpoint changes, even matching points on clouds when ground texture is sparse.
  3. Dynamic Feature Tracking: Moving objects (pedestrians, ships, planes) are tracked using a combination of CSRT and YOLOv5+DeepSORT. These trajectories provide "dynamic correspondences" that link cameras across time.
  4. Spatio-temporal Bundle Adjustment (BA): This core innovation represents moving objects as 3D splines. The BA jointly optimizes camera poses, the 3D trajectories of the objects, and the temporal synchronization (offset and frame rate difference) between the two streams.

Experimental Evaluation

The authors introduced a benchmark of nine real-world datasets from public webcams, covering urban, maritime, and aerial environments. These datasets are characterized by very wide baselines and low-quality, often hazy, video feeds.

End-to-end reconstruction of the New York City skyline. Top: Input views with object trajectories. Middle: SuperGlue feature matching. Bottom: Resulting 3D reconstruction.

As shown in Figure 2, the pipeline successfully matches features across the NYC skyline and reconstructs the 3D trajectories of moving objects. The system successfully reconstructed 8 out of 9 datasets. A key finding was that including moving objects in the "Spatio-temporal BA" significantly reduced trajectory errors. For instance, in the "Croatia" dataset, trajectory error dropped from 66.3 pixels to just 2.6 pixels. The system also successfully recovered temporal offsets between unsynchronized streams, allowing for the reconstruction of fast-moving objects like jets and helicopters.

Discussion and Conclusion

The research highlights that deep learning matchers like SuperGlue are not merely incremental improvements but enabling technologies for wide-baseline reconstruction. Interestingly, the pipeline proved robust to initial calibration errors, often converging to accurate results regardless of whether it started with single-view or two-view auto-calibration.

The primary limitation remains the "correspondence bottleneck" in scenes with extremely low overlap or features clustered in narrow bands, which can lead to ill-posed geometry where 3D positions cannot be accurately resolved. Future work aims to integrate semantic priors—such as known object dimensions for cars or ships—to further constrain reconstructions in these extremely sparse environments.

Summary updated

Abstract

We investigate the possibility of 3D scene reconstruction from two or more overlapping webcam streams. A large, and growing, number of webcams observe places of interest and are publicly accessible. The question naturally arises: can we make use of this free data source for 3D computer vision? It turns out that the task to reconstruct scene structure from webcam streams is very different from standard structure-from-motion (SfM), and conventional SfM pipelines fail. In the webcam setting there are very few views of the same scene, in most cases only the minimum of two. These viewpoints often have large baselines and/or scale differences, their overlap is rather limited, and besides unknown internal and external calibration also their temporal synchronisation is unknown. On the other hand, they record rather large fields of view continuously over long time spans, so that they regularly observe dynamic objects moving through the scene. We show how to leverage recent advances in several areas of computer vision to adapt SfM reconstruction to this particular scenario and reconstruct the unknown camera poses, the 3D scene structure, and the 3D trajectories of dynamic objects.
BibTeX
@misc{wu2021d,
  author = {Tianyu Wu and Konrad Schindler and Cenek Albl},
  title = {{3D Reconstruction from public webcams}},
  year = {2021},
  eprint = {2108.09476},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.09476},
}
Figure