ReUseX  0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
Data.hpp
Go to the documentation of this file.
1#pragma once
3#include <opencv2/core/mat.hpp>
4
6
7#include <array>
8#include <memory>
9#include <utility>
10#include <vector>
11
13
14/* TensorRTData is a struct that implements the IData interface and contains a
15 * cv::Mat image. This struct is used to store the image data that will be
16 * processed by TensorRT.
17 */
19
20 using Vec = std::array<int64_t, 32>;
21 using Prompt = std::pair<std::shared_ptr<Vec>, std::shared_ptr<Vec>>;
22
23 cv::Mat image;
24 std::vector<Sam3PromptUnit> prompts = {
25 Sam3PromptUnit("ceiling"),
26 Sam3PromptUnit("floor"),
27 Sam3PromptUnit("wall"),
28 Sam3PromptUnit("door frame"),
29 Sam3PromptUnit("window"),
30 Sam3PromptUnit("radiator"),
31 Sam3PromptUnit("table"),
32 Sam3PromptUnit("chair"),
33 Sam3PromptUnit("shelf"),
34 Sam3PromptUnit("bench"),
35 Sam3PromptUnit("ceiling lamp"),
36 Sam3PromptUnit("desk lamp"),
37 Sam3PromptUnit("electrical outlet")
38 //
39 };
40
42};
43} // namespace ReUseX::vision::tensor_rt
std::vector< Sam3PromptUnit > prompts
Definition Data.hpp:24
std::array< int64_t, 32 > Vec
Definition Data.hpp:20
std::pair< std::shared_ptr< Vec >, std::shared_ptr< Vec > > Prompt
Definition Data.hpp:21