Skip to content
master
Go to file
Code

Latest commit

Summary:
Set vl_size to be signed.  This avoids some UndefinedBehaviorSanitizer runtime errors.  The following code is common inside the library:

   ptr = ptr - some_negative_signed_int * some_vl_size ;

The UBSAN complains about possible overflow errors when substracting an unsigned int.  Explicitly casting the vl_size var to int solves the issue.  Instead, we switch vl_size to be signed from the begining.  It would otherwise be difficult to find all the instances of this problem since it is only found at runtime.

Reviewed By: fabianschenk

Differential Revision: D23705071

fbshipit-source-id: 76de26ebefb6f4d00b2e2862496196431e65efdd
88c5115

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

OpenSfM Build Status

Overview

OpenSfM is a Structure from Motion library written in Python. The library serves as a processing pipeline for reconstructing camera poses and 3D scenes from multiple images. It consists of basic modules for Structure from Motion (feature detection/matching, minimal solvers) with a focus on building a robust and scalable reconstruction pipeline. It also integrates external sensor (e.g. GPS, accelerometer) measurements for geographical alignment and robustness. A JavaScript viewer is provided to preview the models and debug the pipeline.

Checkout this blog post with more demos

Getting Started

License

OpenSfM is BSD-style licensed, as found in the LICENSE file.

You can’t perform that action at this time.