Dataset for ONNX Runtime SAM3 model inference.
More...
#include <Sam3Dataset.hpp>
Dataset for ONNX Runtime SAM3 model inference.
Loads raw images from the ProjectDB and wraps them in ONNXSam3Data. Saves label images back to the database after inference.
Definition at line 15 of file Sam3Dataset.hpp.
◆ get()
| IDataset::Pair reusex::vision::onnx::ONNXSam3Dataset::get |
( |
const std::size_t | index | ) |
const |
|
overridevirtual |
◆ IDataset() [1/2]
◆ IDataset() [2/2]
◆ save()
| bool reusex::vision::onnx::ONNXSam3Dataset::save |
( |
const std::span< Pair > & | data | ) |
|
|
overridevirtual |
Save label images from completed inference back to the database.
- Parameters
-
| data | Span of pairs containing ONNXSam3Data with label images. |
- Returns
- true if all saves succeeded.
Implements reusex::vision::IDataset.
The documentation for this class was generated from the following file: