WarpProperties.hpp
Go to the documentation of this file.
1 #pragma once
2 
9 
10 namespace dai {
11 
15 struct WarpProperties : PropertiesSerializable<Properties, WarpProperties> {
17  int outputWidth = 0;
18 
20  int outputHeight = 0;
21 
23  int outputFrameSize = 1 * 1024 * 1024;
24 
26  int numFramesPool = 4;
27 
29  int meshWidth = 0;
31  int meshHeight = 0;
33  std::string meshUri = "";
34 
36  std::vector<int> warpHwIds;
40 };
41 
42 DEPTHAI_SERIALIZE_EXT(WarpProperties, outputWidth, outputHeight, outputFrameSize, numFramesPool, meshWidth, meshHeight, meshUri, warpHwIds, interpolation);
43 
44 } // namespace dai
Interpolation.hpp
dai::WarpProperties::outputWidth
int outputWidth
Output width.
Definition: WarpProperties.hpp:17
dai::WarpProperties::interpolation
Interpolation interpolation
Interpolation type to use.
Definition: WarpProperties.hpp:39
optional.hpp
dai::DEPTHAI_SERIALIZE_EXT
DEPTHAI_SERIALIZE_EXT(CameraSensorConfig, width, height, minFps, maxFps, fov, type)
CameraBoardSocket.hpp
dai::WarpProperties
Definition: WarpProperties.hpp:15
RawStereoDepthConfig.hpp
dai::WarpProperties::outputFrameSize
int outputFrameSize
Maximum output frame size in bytes (eg: 300x300 BGR image -> 300*300*3 bytes)
Definition: WarpProperties.hpp:23
dai::Interpolation
Interpolation
Definition: Interpolation.hpp:10
dai::WarpProperties::meshWidth
int meshWidth
Custom warp mesh width. Set to zero to disable.
Definition: WarpProperties.hpp:29
dai::WarpProperties::meshHeight
int meshHeight
Custom warp mesh height. Set to zero to disable.
Definition: WarpProperties.hpp:31
EepromData.hpp
dai::WarpProperties::numFramesPool
int numFramesPool
Num frames in output pool.
Definition: WarpProperties.hpp:26
dai::WarpProperties::outputHeight
int outputHeight
Output height.
Definition: WarpProperties.hpp:20
dai::WarpProperties::meshUri
std::string meshUri
Custom warp mesh uri. Set to empty string to disable.
Definition: WarpProperties.hpp:33
dai::WarpProperties::warpHwIds
std::vector< int > warpHwIds
Warp HW IDs to use, if empty, use auto/default.
Definition: WarpProperties.hpp:36
Properties.hpp
dai::Interpolation::AUTO
@ AUTO
dai::PropertiesSerializable
Serializable properties.
Definition: Properties.hpp:16
dai
Definition: CameraExposureOffset.hpp:6


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19