Skip to content

Node.js API for a photgramatry service based on nvidia nerf implementation

Notifications You must be signed in to change notification settings

Dirk-Vantas/photogrametry-api

Repository files navigation

Photogrammetry API

Node.js API for a photogrammetry service based on Meshroom photogrammetry by AliceVision. Platform Support: Currently, only the Windows version of libraries is supported.

Required Libraries

  • Node.js: Required to run the API.
  • FFmpeg: Required for frame extraction from the videos.
  • Meshroom: Meshroom-2023.2.0 is used for feature extraction, image matching, sparse cloud creation, and meshing.
  • MeshLab: Used for post-processing of the mesh. (currently not implemented)
  • apache: webserver to server frontend

installation with frontend

  • install all required libraries from the Require libraries section
  • start node server instance of the project foler after installing the project package with "npm install"
  • install a nvidia gpu into your system if you have one, and at the moment only windows is suported since a lot of libraries use wrapper files while starting subprocesses
  • install a webserver (XAMPP)
  • change document root to the root of the project
  • start webserver and nodejs instance of the project with "npm start"
  • load webpage that is now being hosted
  • enjoy

Technical documentation when using only the api

Endpoints

  • "/": Provides a debug file upload interface.
  • "/upload": Allows you to upload video files and get an MD5 hash of the video file, which acts as a job ID.
  • "/status": Lists all queued jobs.
  • "/getModel": Retrieves the output of a specific job after it's finished, provided the MD5 hash of the video file is supplied.

Pipeline

Uploaded videos will be saved in the '/jobs' folder to be processed by the pipeline.

TODO:

  • add quality setting to the upload endpoint so that the quality of the model (number of frames used) can be tweaked
  • add meshlab postprocessing
  • add small database for running processes instead of storing them in memory

About

Node.js API for a photgramatry service based on nvidia nerf implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •