/web-structure-from-motion

OpenMVG SfM ported to js

Primary LanguageMakefile

WSFM - web structure from motion

SfM pipeline from openMVG ported to js.

This port is made possible by the amazing work of emscripten and openMVG teams, checkout their repos!

imgDemo

Usage

I recommand reading and following the tutorial of openMVG using this repo.

The file system API port is documented here and here.

I also provide a complete example on how to use the lib.

Build

The project can be built with docker.

You may want to adapt the preferences in /src/build.sh to your use case.

docker build -t wsfm .
docker run --rm -t -v $(pwd)/dist:/home/openMVG/build_js wsfm

Test

The test suite ensure that every wasm program can run without throwing an error.

docker run -it --rm -v $(pwd):/var/www node:9 /bin/bash
yarn
yarn test