Skip to content

AlgoMarker Library

AlgoMarker Library

Overview

The AlgoMarker shared library enables deployment of the AlgoMarker model. It provides a C-level API to load, apply, and retrieve results from your binary model output.

You can download a prebuilt release from the Release page. The release is built with glibc 2.39 and will work out of the box on systems with glibc ≥ 2.39 (e.g., Ubuntu 24.04). If you need to build from source, follow the instructions below.

Installation Steps

  1. Complete the Preliminary Steps to set up your build environment (install cmake, gcc, and libgomp1).
  2. Compile the Boost Libraries. You must build Boost from source.
  3. Clone the repository:
    git clone git@github.com:Medial-EarlySign/MR_LIBS.git
    
  4. Edit Internal/AlgoMarker/CMakeLists.txt and add:
    set(BOOST_ROOT "$ENV{HOME}/boost-pic-install")
    
    Set this path to your Boost build directory (WORK_BUILD_FOLDER from step 2). Ensure the compiled libraries are in /libs and headers in /include.
  5. Build the library:
    Internal/AlgoMarker/full_build.sh
    

A full docker image for compilation steps can be found under this link: