SfM pipeline from openMVG ported to js.
This port is made possible by the amazing work of emscripten and openMVG teams, checkout their repos!
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.
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
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