CVEDIA-RT SDK¶
CVEDIA-RT works with plugins that execute atomic tasks. This tasks can be a variety of things, postprocessing, inference, rendering, sinking data, etc.
We provide libraries you can link against among with example plugins in our github repository.
Requirements¶
Linux¶
- Ubuntu 20.04+
- .deb install of CVEDIA-RT
- CMAKE 3.22+
- GCC 8.5+
Windows¶
- MSVC 19.29.30141.0+
- Windows SDK 10.0.19041.0+
- CMAKE 3.22+
Quickstart¶
Checkout¶
If you're building from our public repository:
git clone https://github.com/Cvedia/CVEDIA-RT-SDK.git --recursive
cd CVEDIA-RT-SDK
If you received a custom package you don't need to checkout the public sdk.
Building¶
mkdir build
cd build
cmake .. -DCVEDIA_INSTALL_DIR=/opt/cvedia-rt
cmake --build . -- -j8
cmake --install .
CVEDIA_INSTALL_DIR
CVEDIA_INSTALL_DIR
is there you installed CVEDIA-RT, if you used our native installs it will be at /opt/cvedia-rt
. This folder should contain RTCORE.so
(linux) or RTCORE.lib
(windows)
Build macros¶
WITH_ONNX_MODULE
builds ONNX inference module (requires onnxruntime) - Default OFFWITH_SECURT_LIB
builds securt library bindings - Default ONWITH_SECURT_LIB_PYTHON
build securt python bindings - Default OFFWITH_SECURT_LIB_DOTNET
build securt dotnet bindings - Default OFFWITH_POST_CLASSIFIER_MODULE
builds post processing module for classifiers - Default ONWITH_RTSPDEMO_CLI
builds CLI example tools - Default OFF
Post build¶
Once your plugin is built, check if it's at Plugins/
folder. Do a sanity check by running rtcmd systeminfo --verbose
to check if your module is being correctly loaded, if you have errors loading check if all dependencies are in place, if they're not system wide, they should be placed at CVEDIA_INSTALL_DIR, ideally installed thru your CMakeLists.txt
.
For debbuging, if you have a debug build of CVEDIA-RT, we recommend using Tracy.