mmdeploy-sys 0.4.0

FFI bindings to MMDeploy
docs.rs failed to build mmdeploy-sys-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: mmdeploy-sys-0.1.0

rust-mmdeploy-sys

MMDeploy bindings for Rust.

:construction: THIS REPO IS STILL UNDER CONSTRUCTION!

Prerequisites

NOTICE: Linux only. Onnxruntime only.

In order to successfully build this repo, you are supposed to install some pre-packages.

Step 1. Install Clang required by Bindgen.

apt install llvm-dev libclang-dev clang

Step 2. Download and install pre-built mmdeploy package.

wget https://github.com/open-mmlab/mmdeploy/releases/download/v0.8.0/mmdeploy-0.8.0-linux-x86_64-onnxruntime1.8.1.tar.gz
tar -zxvf mmdeploy-0.8.0-linux-x86_64-onnxruntime1.8.1.tar.gz
cd mmdeploy-0.8.0-linux-x86_64-onnxruntime1.8.1.tar.gz
export MMDEPLOY_DIR=$(pwd)

Build

Move to the root of this repo and then:

cargo build