Skip to content

Latest commit

 

History

History
97 lines (74 loc) · 4.99 KB

README.md

File metadata and controls

97 lines (74 loc) · 4.99 KB

📚 SuperimposeMesh Library

A modern C++ augmented-reality library to superimpose 3D objects on images.

Space! Space Invader fiend in space!

SuperimposeMesh home Latest Release

SemVer ZenHub

Travis Linux master Travis macOS master AppVeyor Windows master Codacy master grade

Overview

⚠️ About versioning

The project is undergoing heavy development: APIs will be subject to changes quite often. To be able to understand API compatibility during development, the project will follow SemVer specs.

In particular, the library will have zero major version, i.e. 0.MINOR.PATCH, as specified by SemVer spec. 4 and the project will comply with the following rules:

  1. MINOR version increases when API compatibility is broken;
  2. PATCH version increases when functionality are added in a backwards-compatible manner;
  3. Additional labels for pre-release and build metadata are available as extensions to the 0.MINOR.PATCH format.

📖 Background

This library provides superimposition facilities: the placement of one thing over another. In particular, this library provides classes to superimpose 3D mesh model on top of an image that are of central importance for computer vision and augmented-reality applications.

🎛 Dependencies

SuperimposeMesh library depends on

🔨 Build and link the library

Use the following commands to build, install and link the library.

Build

With make facilities:

$ git clone https://github.com/robotology/superimpose-mesh-lib
$ cd superimpose-mesh-lib
$ mkdir build && cd build
$ cmake ..
$ make
$ [sudo] make install

With IDE build tool facilities:

$ git clone https://github.com/robotology/superimpose-mesh-lib
$ cd superimpose-mesh-lib
$ mkdir build && cd build
$ cmake ..
$ cmake --build . --target ALL_BUILD --config Release
$ cmake --build . --target INSTALL --config Release

Link

Once the library is installed, you can link it using CMake with as little effort as writing the following line of code in your project's CMakeLists.txt:

...
find_package(SuperimposeMesh 0.MINOR.PATCH EXACT REQUIRED)
...
target_link_libraries(<target> SI::SuperimposeMesh)
...

🔬 Test the library

We have designed several tests using CMake's ctest to check whether everything is running smoothly or not. Simply run

$ ctest [-VV]

Tests are also well-designed starting points to learn how to use the library and how to implement your own shaders! Just have a look at them!

📝 API documentation and example code

Doxygen-generated documentation is available here.