项目作者: robotology

项目描述 :
A modern C++ augmented-reality library to superimpose 3D objects on images.
高级语言: C++
项目地址: git://github.com/robotology/superimpose-mesh-lib.git
创建时间: 2017-04-12T09:03:21Z
项目社区:https://github.com/robotology/superimpose-mesh-lib

开源协议:BSD 3-Clause "New" or "Revised" License

下载


📚 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:

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

With IDE build tool facilities:

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

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:

  1. ...
  2. find_package(SuperimposeMesh 0.MINOR.PATCH EXACT REQUIRED)
  3. ...
  4. target_link_libraries(<target> SI::SuperimposeMesh)
  5. ...

🔬 Test the library

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

  1. $ 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.