#include <WarpProperties.hpp>
Public Types | |
using | Interpolation = dai::Interpolation |
Public Attributes | |
Interpolation | interpolation = Interpolation::AUTO |
Interpolation type to use. More... | |
int | meshHeight = 0 |
Custom warp mesh height. Set to zero to disable. More... | |
std::string | meshUri = "" |
Custom warp mesh uri. Set to empty string to disable. More... | |
int | meshWidth = 0 |
Custom warp mesh width. Set to zero to disable. More... | |
int | numFramesPool = 4 |
Num frames in output pool. More... | |
int | outputFrameSize = 1 * 1024 * 1024 |
Maximum output frame size in bytes (eg: 300x300 BGR image -> 300*300*3 bytes) More... | |
int | outputHeight = 0 |
Output height. More... | |
int | outputWidth = 0 |
Output width. More... | |
std::vector< int > | warpHwIds |
Warp HW IDs to use, if empty, use auto/default. More... | |
Additional Inherited Members | |
![]() | |
virtual std::unique_ptr< Properties > | clone () const override |
virtual void | serialize (std::vector< std::uint8_t > &data, SerializationType type=SerializationType::LIBNOP) const override |
![]() | |
virtual std::unique_ptr< Properties > | clone () const =0 |
virtual | ~Properties ()=default |
Specify properties for Warp
Definition at line 15 of file WarpProperties.hpp.
Definition at line 37 of file WarpProperties.hpp.
Interpolation dai::WarpProperties::interpolation = Interpolation::AUTO |
Interpolation type to use.
Definition at line 39 of file WarpProperties.hpp.
int dai::WarpProperties::meshHeight = 0 |
Custom warp mesh height. Set to zero to disable.
Definition at line 31 of file WarpProperties.hpp.
std::string dai::WarpProperties::meshUri = "" |
Custom warp mesh uri. Set to empty string to disable.
Definition at line 33 of file WarpProperties.hpp.
int dai::WarpProperties::meshWidth = 0 |
Custom warp mesh width. Set to zero to disable.
Definition at line 29 of file WarpProperties.hpp.
int dai::WarpProperties::numFramesPool = 4 |
Num frames in output pool.
Definition at line 26 of file WarpProperties.hpp.
int dai::WarpProperties::outputFrameSize = 1 * 1024 * 1024 |
Maximum output frame size in bytes (eg: 300x300 BGR image -> 300*300*3 bytes)
Definition at line 23 of file WarpProperties.hpp.
int dai::WarpProperties::outputHeight = 0 |
Output height.
Definition at line 20 of file WarpProperties.hpp.
int dai::WarpProperties::outputWidth = 0 |
Output width.
Definition at line 17 of file WarpProperties.hpp.
std::vector<int> dai::WarpProperties::warpHwIds |
Warp HW IDs to use, if empty, use auto/default.
Definition at line 36 of file WarpProperties.hpp.