|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
ONNX Runtime backend implementation of the IMLBackend interface. More...
#include <Backend.hpp>


Public Member Functions | |
| ONNXBackend ()=default | |
| std::unique_ptr< IModel > | create_model (const Model type, const std::filesystem::path &modelPath, bool use_cuda=false) override |
| Create an ONNX Runtime model. | |
| std::unique_ptr< IDataset > | create_dataset (const std::filesystem::path &datasetPath) override |
| Create an ONNX dataset from a database path. | |
| Public Member Functions inherited from reusex::vision::IMLBackend | |
| virtual | ~IMLBackend ()=default |
ONNX Runtime backend implementation of the IMLBackend interface.
Provides factory methods for creating ONNX Runtime-based models and datasets for use with the backend-agnostic annotation pipeline.
Definition at line 14 of file Backend.hpp.
|
default |
|
overridevirtual |
Create an ONNX dataset from a database path.
| datasetPath | Path to the ReUseX project database file. |
Implements reusex::vision::IMLBackend.
|
overridevirtual |
Create an ONNX Runtime model.
| type | Model type (currently Sam3). |
| modelPath | Path to directory containing ONNX model files. |
| use_cuda | Whether to use CUDA execution provider (defaults to false). |
| std::runtime_error | if model type is not supported. |
Implements reusex::vision::IMLBackend.