GitPedia

Flame

FLaME: Fast Lightweight Mesh Estimation

From robustrobotics·Updated April 3, 2026·View on GitHub·

**FLaME** (Fast Lightweight Mesh Estimation) is a lightweight, CPU-only method for dense online monocular depth estimation. Given a sequence of camera images with known poses, **FLaME** is able to reconstruct dense 3D meshes of the environment by posing the depth estimation problem as a variational optimization over a Delaunay graph that can be solved at framerate, even on computationally constrained platforms. The project is written primarily in C++, distributed under the GNU General Public License v3.0 license, first published in 2017. Key topics include: 3d-reconstruction, computer-vision, depth-estimation, monocular, robotics.

CircleCI

flame

FLaME (Fast Lightweight Mesh Estimation) is a lightweight, CPU-only method
for dense online monocular depth estimation. Given a sequence of camera images
with known poses, FLaME is able to reconstruct dense 3D meshes of the
environment by posing the depth estimation problem as a variational optimization
over a Delaunay graph that can be solved at framerate, even on computationally
constrained platforms.

The flame repository contains the source code for the core algorithm. It
should be input/output agnostic, so feel free to write an appropriate frontend
for your data. ROS bindings are available with the
associated flame_ros
repository, which also includes examples for running flame on offline data.

<p align="center"> <a href="https://www.youtube.com/watch?v=vB_F-Sj0AX0"> <img src="https://img.youtube.com/vi/vB_F-Sj0AX0/0.jpg" alt="FLaME"> </a> </p>

Author

Dependencies

  • Ubuntu 16.04
  • Boost 1.58
  • OpenCV 3.2
  • Eigen 3.2
  • Sophus (SHA: b474f05f839c0f63c281aa4e7ece03145729a2cd)

Installation

NOTE: These instructions assume you are running Ubuntu 16.04 and are
interested in installing flame only. See the installation instructions for
flame_ros if you also wish to build the ROS bindings as the process can be
streamlined using catkin_tools.

  1. Install apt dependencies:
bash
sudo apt-get install libboost-all-dev
  1. Install OpenCV 3.2:

Unfortunately OpenCV 3.2 is not available through apt on Ubuntu 16.04. If you
have ROS Kinetic installed on your system, you can simply source your ROS
installation as this version of OpenCV is packaged with ROS Kinetic. If you
don't have ROS Kinetic installed, then you will need to install from
source. Please consult
the
OpenCV docs for
instructions.

  1. Install Eigen 3.2 and Sophus using the provided scripts:
bash
cd flame # Create a dependencies folder. mkdir -p dependencies/src # Checkout Eigen and Sophus into ./dependencies/src and install into ./dependencies. ./scripts/eigen.sh ./dependencies/src ./dependencies ./scripts/sophus.sh ./dependencies/src ./dependencies # Copy and source environment variable script: cp ./scripts/env.sh ./dependencies/ source ./dependencies/env.sh
  1. Install flame:
bash
cd flame mkdir build cd build cmake -D CMAKE_INSTALL_PREFIX=path/to/install/directory .. make install

Usage

See flame_ros for ROS bindings and example usage.

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from robustrobotics/flame via the GitHub API.Last fetched: 6/28/2026