6#include "reusex/vision/IData.hpp"
7#include "reusex/vision/IDataset.hpp"
8#include "reusex/vision/libtorch/Data.hpp"
32 bool save(
const std::span<Pair> &data)
override;
IDataset(std::shared_ptr< ProjectDB > database)
std::pair< std::unique_ptr< IData >, size_t > Pair
LibTorch dataset for RTABMap databases.
IDataset::Pair get(const std::size_t index) const override
Get a data sample at the given index.
IDataset(std::shared_ptr< ProjectDB > database)
bool save(const std::span< Pair > &data) override
Save processed results back to the database.